Enable more biome lints and fix things

This commit is contained in:
Mario Zechner 2025-12-21 22:56:20 +01:00
parent 9c18439c4d
commit d5fd685901
57 changed files with 151 additions and 199 deletions

View file

@ -49,7 +49,7 @@ describe("TruncatedText component", () => {
});
it("preserves ANSI codes in output and pads correctly", () => {
const styledText = chalk.red("Hello") + " " + chalk.blue("world");
const styledText = `${chalk.red("Hello")} ${chalk.blue("world")}`;
const text = new TruncatedText(styledText, 1, 0);
const lines = text.render(40);