Skip to content

Commit

Permalink
Bump vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Dec 17, 2023
1 parent 50c7a56 commit 5fe8f27
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 130 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"test": "node --expose-gc ./node_modules/vitest/dist/cli-wrapper.js run",
"test:watch": "node --expose-gc ./node_modules/vitest/dist/cli-wrapper.js watch",
"test:cov": "vitest run --coverage",
"type-check": "vitest --run typecheck",
"type-check:trace": "vitest --run typecheck && tsc --noEmit -p typescript_test/tsconfig.json --generateTrace trace && npx @typescript/analyze-trace trace && rimraf trace",
"type-check": "vitest --run --typecheck",
"type-check:trace": "vitest --run --typecheck && tsc --noEmit -p typescript_test/tsconfig.json --generateTrace trace && npx @typescript/analyze-trace trace && rimraf trace",
"test:typescript": "tsc --noEmit -p typescript_test/tsconfig.json",
"docs:start": "yarn --cwd website start",
"docs:build": "yarn --cwd website build",
Expand Down Expand Up @@ -82,6 +82,6 @@
"shelljs": "^0.8.5",
"tsup": "^6.7.0",
"typescript": "5.2",
"vitest": "^0.34"
"vitest": "^1.0.4"
}
}
2 changes: 2 additions & 0 deletions test/perfComparisons.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,8 @@ describe('More perf comparisons', () => {
reduxStates[0] = null
if (global.gc) {
global.gc()
} else {
return
}

await promise
Expand Down
Loading

0 comments on commit 5fe8f27

Please sign in to comment.