Files
goose/ui-v2/src/test/setup.ts
2025-05-19 10:45:42 -04:00

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;
}
}
}