Skip to content

Commit 0c5a522

Browse files
committed
fix ci
1 parent a141bef commit 0c5a522

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/web/src/components/threadSidebarWidth.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @effect-diagnostics nodeBuiltinImport:off - Regression coverage compares shipped CSS with the sidebar width contract.
2-
import { readFileSync } from "node:fs";
2+
import * as NodeFS from "node:fs";
33

44
import { describe, expect, it } from "vite-plus/test";
55

@@ -36,7 +36,7 @@ describe("thread sidebar width", () => {
3636
});
3737

3838
it("shows the desktop wordmark across the sidebar's full legal width range", () => {
39-
const sidebarStyles = readFileSync(new URL("../index.css", import.meta.url), "utf8");
39+
const sidebarStyles = NodeFS.readFileSync(new URL("../index.css", import.meta.url), "utf8");
4040
const desktopHeaderStyles = sidebarStyles.slice(
4141
sidebarStyles.indexOf("@media (min-width: 48rem)"),
4242
sidebarStyles.indexOf("/* Stage-channel sidebar art"),

0 commit comments

Comments
 (0)