mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 20:28:04 +01:00
11 lines
193 B
TypeScript
11 lines
193 B
TypeScript
import '@testing-library/jest-dom';
|
|
|
|
// Mock next/router
|
|
jest.mock('next/router', () => ({
|
|
useRouter: () => ({
|
|
push: jest.fn(),
|
|
}),
|
|
}));
|
|
|
|
// Mock window.alert
|
|
window.alert = jest.fn();
|