chore: upgrade vitest 3.2.4 → 4.0.18
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 18m42s
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 18m42s
Breaking changes addressed: - vi.fn() mock factories: arrow → regular functions for constructor support - Exclude dist/ from test resolution (vitest 4 simplified defaults) - 672 tests pass, 0 tsc errors
This commit is contained in:
parent
7fffd404e9
commit
55172856b1
5 changed files with 116 additions and 348 deletions
|
|
@ -1,9 +1,13 @@
|
|||
import { defineConfig } from "vitest/config";
|
||||
import { configDefaults, defineConfig } from "vitest/config";
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
setupFiles: ["src/__tests__/setup.ts"],
|
||||
testTimeout: 15000,
|
||||
hookTimeout: 15000,
|
||||
exclude: [
|
||||
...configDefaults.exclude,
|
||||
"**/dist/**",
|
||||
],
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue