aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2023-05-08 14:33:52 +0200
committerGitHub <[email protected]>2023-05-08 14:33:52 +0200
commit1c9043bf5b1ea6cc40f8b5276a996bb2b60b4177 (patch)
tree7622c7b922412abeedc1ef531bd8f73e8d31355c /test
parent30b40ada8f9ed8195a7c088c5057d5a9748df897 (diff)
downloadfaker-1c9043bf5b1ea6cc40f8b5276a996bb2b60b4177.tar.xz
faker-1c9043bf5b1ea6cc40f8b5276a996bb2b60b4177.zip
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]>
Diffstat (limited to 'test')
-rw-r--r--test/vitest-extensions.ts13
1 files changed, 5 insertions, 8 deletions
diff --git a/test/vitest-extensions.ts b/test/vitest-extensions.ts
index b33919ef..d8b2f773 100644
--- a/test/vitest-extensions.ts
+++ b/test/vitest-extensions.ts
@@ -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 {}
}