Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish committed Mar 14, 2023
1 parent 7d5f1a8 commit 53a7a10
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions integration/deterministic-build-output-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ test("builds deterministically under different paths", async () => {
<circle cx="50" cy="50" r="50" fill="coral" />
</svg>
`,
"app/styles/vanilla.css.ts": css`
"app/styles/vanilla.css.ts": js`
import { style } from "@vanilla-extract/css";
import { chocolate } from "./chocolate.css";
import imageUrl from "~/images/foo.svg";
Expand All @@ -80,7 +80,7 @@ test("builds deterministically under different paths", async () => {
}
]);
`,
"app/styles/chocolate.css.ts": css`
"app/styles/chocolate.css.ts": js`
import { style } from "@vanilla-extract/css";
export const chocolate = style({
Expand Down Expand Up @@ -125,7 +125,6 @@ test("builds Vanilla Extract files deterministically under different paths with
},
files: {
"app/routes/foo.tsx": js`
export * from "~/foo/bar.server";
import { vanilla } from "~/styles/vanilla.css";
export default () => <div className={vanilla}>YAY</div>;
`,
Expand All @@ -134,7 +133,7 @@ test("builds Vanilla Extract files deterministically under different paths with
<circle cx="50" cy="50" r="50" fill="coral" />
</svg>
`,
"app/styles/vanilla.css.ts": css`
"app/styles/vanilla.css.ts": js`
import { style } from "@vanilla-extract/css";
import { chocolate } from "./chocolate.css";
import imageUrl from "~/images/foo.svg";
Expand All @@ -149,7 +148,7 @@ test("builds Vanilla Extract files deterministically under different paths with
}
]);
`,
"app/styles/chocolate.css.ts": css`
"app/styles/chocolate.css.ts": js`
import { style } from "@vanilla-extract/css";
export const chocolate = style({
Expand Down

0 comments on commit 53a7a10

Please sign in to comment.