Skip to content

Commit

Permalink
chore(deps): update vitest to ~0.31.0 (#2136)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Shinigami92 <chrissi92@hotmail.de>
  • Loading branch information
renovate[bot] and Shinigami92 authored May 8, 2023
1 parent 30b40ad commit 1c9043b
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 51 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@
"@types/validator": "~13.7.16",
"@typescript-eslint/eslint-plugin": "~5.59.2",
"@typescript-eslint/parser": "~5.59.2",
"@vitest/coverage-c8": "~0.30.1",
"@vitest/ui": "~0.30.1",
"@vitest/coverage-c8": "~0.31.0",
"@vitest/ui": "~0.31.0",
"@vueuse/core": "~10.1.2",
"c8": "~7.13.0",
"conventional-changelog-cli": "~2.2.2",
Expand Down Expand Up @@ -135,7 +135,7 @@
"validator": "~13.9.0",
"vite": "~4.3.5",
"vitepress": "1.0.0-alpha.75",
"vitest": "~0.30.1",
"vitest": "~0.31.0",
"vue": "~3.2.47"
},
"packageManager": "pnpm@8.4.0",
Expand Down
106 changes: 66 additions & 40 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 5 additions & 8 deletions test/vitest-extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,9 @@ interface CustomMatchers {
toContainDuplicates(): void;
}

declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace Vi {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface Assertion extends CustomMatchers {}
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface AsymmetricMatchersContaining extends CustomMatchers {}
}
declare module 'vitest' {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface Assertion extends CustomMatchers {}
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface AsymmetricMatchersContaining extends CustomMatchers {}
}

0 comments on commit 1c9043b

Please sign in to comment.