test(color-scheme): check bold on the Go package token (#7568)

Go package references have their own token since #7561, so Bold on the Go page sets --syn-go-package-bold; the settings test now reads that variable.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-12-02 23:36:23 +08:00
1 джерело 8ad3fc4faf
коміт 05e7db4be6
1 file changed
+1 -1
+1 -1
Переглянути файл
@@ -284,7 +284,7 @@ describe("Go scheme attributes", () => {
expect(value("colorOverrides")).toEqual({
dark: { packageReference: { foreground: "#139839" }, "go.packageReference": { bold: true } },
});
expect(preview.style.getPropertyValue("--syn-namespace-bold")).toBe("var(--fw-code-bold, 700)");
expect(preview.style.getPropertyValue("--syn-go-package-bold")).toBe("var(--fw-code-bold, 700)");
act(() => fireEvent.click(screen.getByRole("button", { name: "Restore Defaults" })));
expect(value("colorOverrides")).toEqual({});