Skip to content

Commit

Permalink
Another attempt to fix build on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoguerios committed Jan 15, 2025
1 parent a9b607d commit 5b2ffcb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 5 additions & 0 deletions test/vitest-setup.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { stopAnvilForks } from './anvil/anvil-global-setup';

afterAll(async () => {
await stopAnvilForks();
});
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"resolveJsonModule": true,
"outDir": "./dist",
"skipLibCheck": true,
"sourceMap": true
"sourceMap": true,
"types": ["vitest/globals"],
},
"exclude": ["node_modules", "debug", "**/*.spec.ts", "**/*.test.ts"]
}
5 changes: 0 additions & 5 deletions vitest-setup.ts

This file was deleted.

2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ export default defineConfig({
],
testTimeout: 120_000,
hookTimeout: 120_000,
setupFiles: ['./vitest-setup.ts'],
setupFiles: ['/test/vitest-setup.ts'],
},
});

0 comments on commit 5b2ffcb

Please sign in to comment.