fix: rename settings modal title
This commit is contained in:
@@ -115,7 +115,7 @@ export class AskSettingsList {
|
||||
const lines = [
|
||||
this.topBorder(innerWidth),
|
||||
this.line(
|
||||
center(this.theme.fg("accent", "Ask Settings"), innerWidth),
|
||||
center(this.theme.fg("accent", "@eko24ive/pi-ask"), innerWidth),
|
||||
innerWidth
|
||||
),
|
||||
this.line("", innerWidth),
|
||||
|
||||
@@ -66,7 +66,7 @@ test("registers /ask-settings and opens the shared settings overlay", async () =
|
||||
},
|
||||
});
|
||||
const text = customCalls[0]?.lines.join("\n") ?? "";
|
||||
assert(text.includes("Ask Settings"));
|
||||
assert(text.includes("@eko24ive/pi-ask"));
|
||||
assert(
|
||||
text.includes("Edit this config file to change customizable ask keymaps:")
|
||||
);
|
||||
|
||||
@@ -66,7 +66,7 @@ test("settings list renders behaviour settings and config path", () => {
|
||||
const text = list.render(72).join("\n");
|
||||
|
||||
assert(text.includes("╭"));
|
||||
assert(text.includes("Ask Settings"));
|
||||
assert(text.includes("@eko24ive/pi-ask"));
|
||||
assert(text.includes("Auto-submit when answered without notes"));
|
||||
assert(text.includes("[off]"));
|
||||
assert(text.includes("Confirm dismiss when dirty"));
|
||||
|
||||
Reference in New Issue
Block a user