diff options
| author | renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> | 2023-05-08 14:33:52 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-08 14:33:52 +0200 |
| commit | 1c9043bf5b1ea6cc40f8b5276a996bb2b60b4177 (patch) | |
| tree | 7622c7b922412abeedc1ef531bd8f73e8d31355c /test | |
| parent | 30b40ada8f9ed8195a7c088c5057d5a9748df897 (diff) | |
| download | faker-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.ts | 13 |
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 {} } |
