mirror of
https://github.com/bitwarden/browser
synced 2024-12-30 11:50:54 +01:00
16 lines
527 B
TypeScript
16 lines
527 B
TypeScript
|
import type { CustomMatchers } from "./test.setup";
|
||
|
|
||
|
// This declares the types for our custom matchers so that they're recognised by Typescript
|
||
|
// This file must also be included in the TS compilation (via the tsconfig.json "include" property) to be recognised by
|
||
|
// vscode
|
||
|
|
||
|
/* eslint-disable */
|
||
|
declare global {
|
||
|
namespace jest {
|
||
|
interface Expect extends CustomMatchers {}
|
||
|
interface Matchers<R> extends CustomMatchers<R> {}
|
||
|
interface InverseAsymmetricMatchers extends CustomMatchers {}
|
||
|
}
|
||
|
}
|
||
|
/* eslint-enable */
|