Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

Commit e12f786

Browse files
committed
test: fix cwd for client entry on dev
1 parent 4502fdb commit e12f786

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/_shared.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export function setupTest(name: string, testConfig: TestConfig = {}) {
3636
const context: TestContext = {} as any;
3737

3838
beforeAll(async () => {
39+
process.chdir(rootDir);
3940
server = await createServer({ root: rootDir });
4041
await server.listen("0" as unknown as number);
4142
const addr = server.httpServer?.address() as {

0 commit comments

Comments
 (0)