Skip to content

Commit 524bc58

Browse files
committed
fix: move test file out of routes to exclude from build
1 parent e4ebac9 commit 524bc58

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it } from "vite-plus/test";
2-
import { buildReleaseFromTag, detectArch, parseRelease } from "./download";
2+
import { buildReleaseFromTag, detectArch, parseRelease } from "../routes/download";
33

44
describe("detectArch", () => {
55
it("defaults to x64 when no query param or user-agent", () => {

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"skipLibCheck": true,
1010
"types": ["void/env", "vite-plus/client"]
1111
},
12-
"include": ["routes"]
12+
"include": ["routes", "tests"]
1313
}

0 commit comments

Comments
 (0)