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