14 lines
303 B
TypeScript
14 lines
303 B
TypeScript
// Extend the global Jest namespace
|
|
declare global {
|
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
namespace jest {
|
|
interface Matchers<R> {
|
|
toBeWithinRange(a: number, b: number): R;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Add any global test setup here
|
|
|
|
export {}; // This file needs to be a module
|