Skip to content

Commit

Permalink
test: up vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jul 26, 2024
1 parent f4712ae commit 34afe3a
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 212 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"@rollup/plugin-terser": "^0.4.4",
"@types/lodash.kebabcase": "^4.1.9",
"@types/node": "^20.14.12",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"@vue/compiler-sfc": "^3.4.34",
"@vue/server-renderer": "^3.4.34",
"chalk": "^5.3.0",
Expand All @@ -59,7 +59,7 @@
"typedoc": "^0.26.5",
"typedoc-plugin-markdown": "^4.2.3",
"typescript": "~5.5.4",
"vitest": "^1.6.0",
"vitest": "^2.0.4",
"vue": "^3.4.34"
},
"simple-git-hooks": {
Expand Down
2 changes: 1 addition & 1 deletion packages/pinia/__tests__/vitest-mock-warn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ declare module 'vitest' {
}

export function mockWarn() {
let warn: MockInstance<Parameters<(typeof console)['warn']>, void>
let warn: MockInstance<(typeof console)['log']>
const asserted = new Map<string, string | RegExp>()

expect.extend({
Expand Down
Loading

0 comments on commit 34afe3a

Please sign in to comment.