Skip to content

Commit 1c9043b

Browse files
chore(deps): update vitest to ~0.31.0 (#2136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Shinigami92 <[email protected]>
1 parent 30b40ad commit 1c9043b

File tree

3 files changed

+74
-51
lines changed

3 files changed

+74
-51
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@
104104
"@types/validator": "~13.7.16",
105105
"@typescript-eslint/eslint-plugin": "~5.59.2",
106106
"@typescript-eslint/parser": "~5.59.2",
107-
"@vitest/coverage-c8": "~0.30.1",
108-
"@vitest/ui": "~0.30.1",
107+
"@vitest/coverage-c8": "~0.31.0",
108+
"@vitest/ui": "~0.31.0",
109109
"@vueuse/core": "~10.1.2",
110110
"c8": "~7.13.0",
111111
"conventional-changelog-cli": "~2.2.2",
@@ -135,7 +135,7 @@
135135
"validator": "~13.9.0",
136136
"vite": "~4.3.5",
137137
"vitepress": "1.0.0-alpha.75",
138-
"vitest": "~0.30.1",
138+
"vitest": "~0.31.0",
139139
"vue": "~3.2.47"
140140
},
141141
"packageManager": "[email protected]",

pnpm-lock.yaml

Lines changed: 66 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/vitest-extensions.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,9 @@ interface CustomMatchers {
2222
toContainDuplicates(): void;
2323
}
2424

25-
declare global {
26-
// eslint-disable-next-line @typescript-eslint/no-namespace
27-
namespace Vi {
28-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
29-
interface Assertion extends CustomMatchers {}
30-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
31-
interface AsymmetricMatchersContaining extends CustomMatchers {}
32-
}
25+
declare module 'vitest' {
26+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
27+
interface Assertion extends CustomMatchers {}
28+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
29+
interface AsymmetricMatchersContaining extends CustomMatchers {}
3330
}

0 commit comments

Comments
 (0)