File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 7373 "@testing-library/react" : " ^14.0.0" ,
7474 "@testing-library/user-event" : " ^14.1.1" ,
7575 "@types/lodash-es" : " ^4.17.7" ,
76+ "@types/node" : " ^20.10.3" ,
7677 "@types/react" : " ^18.2.35" ,
7778 "@types/react-dom" : " ^18.2.4" ,
7879 "@typescript-eslint/eslint-plugin" : " ^6.1.0" ,
7980 "@typescript-eslint/parser" : " ^6.1.0" ,
8081 "@vitejs/plugin-react" : " ^4.0.2" ,
81- "@vitest/coverage-v8" : " ^0.34.1 " ,
82+ "@vitest/coverage-v8" : " ^1.0.0 " ,
8283 "babel-plugin-optimize-clsx" : " ^2.6.2" ,
8384 "eslint" : " ^8.43.0" ,
8485 "eslint-config-prettier" : " ^9.0.0" ,
8990 "eslint-plugin-react-hooks" : " ^4.6.0" ,
9091 "eslint-plugin-sonarjs" : " ^0.23.0" ,
9192 "eslint-plugin-testing-library" : " ^6.2.0" ,
92- "jsdom" : " ^23.0.0 " ,
93+ "jsdom" : " ^23.0.1 " ,
9394 "jspdf" : " ^2.5.1" ,
9495 "jspdf-autotable" : " ^3.5.23" ,
9596 "lodash-es" : " ^4.17.21" ,
105106 "rollup-plugin-postcss" : " ^4.0.2" ,
106107 "typescript" : " ~5.3.2" ,
107108 "vite" : " ^5.0.0" ,
108- "vitest" : " ^0.34.1 "
109+ "vitest" : " ^1.0.0 "
109110 },
110111 "peerDependencies" : {
111112 "react" : " ^18.0" ,
Original file line number Diff line number Diff line change @@ -38,16 +38,19 @@ export default defineConfig({
3838 test : {
3939 root : '.' ,
4040 environment : 'jsdom' ,
41- experimentalVmThreads : true ,
41+ pool : 'vmThreads' ,
4242 globals : true ,
4343 coverage : {
4444 provider : 'v8' ,
4545 enabled : isCI ,
4646 include : [ 'src/**/*.{ts,tsx}' , '!src/types.ts' ] ,
47- all : true ,
4847 reporter : [ 'text' , 'json' ]
4948 } ,
50- useAtomics : true ,
49+ poolOptions : {
50+ vmThreads : {
51+ useAtomics : true
52+ }
53+ } ,
5154 testTimeout : isCI ? 10000 : 5000 ,
5255 setupFiles : [ 'test/setup.ts' ] ,
5356 restoreMocks : true ,
You can’t perform that action at this time.
0 commit comments