дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 01:01:17 +02:00
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.
Цей коміт міститься в:
1 джерело
8ad3fc4faf
коміт
05e7db4be6
1 file changed
+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({});
|
||||
|
||||
Reference in new issue
Заблокувати користувача