Skip to content

Commit 89936b2

Browse files
committed
fix treeshake test
1 parent 98a6657 commit 89936b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/tests/src/routes/treeshaking/treeshake.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe("Make sure treeshaking works", () => {
1010
);
1111
const files = await readdir(buildDir);
1212
const targetFile = files.find(
13-
(file) => file.startsWith("(no-side-effects)-") && file.endsWith(".ts"),
13+
(file) => file.startsWith("(no-side-effects)-") && file.endsWith(".js"),
1414
);
1515
if (!targetFile) {
1616
throw new Error("Treeshaking test: No target file not found");

0 commit comments

Comments
 (0)