From fda7a11109a5b4774490da8dd21f020190a3dd2b Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Fri, 5 Jun 2026 23:14:38 -0500 Subject: [PATCH 1/2] add color test --- test/{default-foreground.test.ts => color.test.ts} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename test/{default-foreground.test.ts => color.test.ts} (91%) diff --git a/test/default-foreground.test.ts b/test/color.test.ts similarity index 91% rename from test/default-foreground.test.ts rename to test/color.test.ts index 1a51593..2c899a2 100644 --- a/test/default-foreground.test.ts +++ b/test/color.test.ts @@ -4,7 +4,7 @@ import { describe, expect, it } from "./suite.ts"; const decode = (b: Uint8Array) => new TextDecoder().decode(b); -describe("true default foreground", () => { +describe("foreground", () => { it("emits uncolored text with no concrete foreground", async () => { let term = await createTerm({ width: 12, height: 1 }); let ansi = decode(term.render([text("hi")]).output); From 7f36d1d72355a2e70a02549fe3fbef98b71d0366 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Fri, 5 Jun 2026 23:15:03 -0500 Subject: [PATCH 2/2] rename test --- test/color.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/color.test.ts b/test/color.test.ts index 2c899a2..6237985 100644 --- a/test/color.test.ts +++ b/test/color.test.ts @@ -5,7 +5,7 @@ import { describe, expect, it } from "./suite.ts"; const decode = (b: Uint8Array) => new TextDecoder().decode(b); describe("foreground", () => { - it("emits uncolored text with no concrete foreground", async () => { + it("emits uncolored text with no foreground", async () => { let term = await createTerm({ width: 12, height: 1 }); let ansi = decode(term.render([text("hi")]).output);