mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-19 07:04:21 +01:00
16 lines
447 B
TypeScript
16 lines
447 B
TypeScript
import '@testing-library/jest-dom';
|
|
|
|
// Add custom matchers
|
|
declare global {
|
|
namespace Vi {
|
|
interface Assertion {
|
|
// Define the custom matcher without depending on jest types
|
|
toHaveBeenCalledExactlyOnceWith(...args: unknown[]): void;
|
|
}
|
|
interface AsymmetricMatchersContaining {
|
|
// Define the custom matcher without depending on jest types
|
|
toHaveBeenCalledExactlyOnceWith(...args: unknown[]): void;
|
|
}
|
|
}
|
|
}
|