mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 00:53:37 +00:00
28 lines
506 B
TypeScript
28 lines
506 B
TypeScript
import '@testing-library/jest-dom';
|
|
|
|
jest.mock('sonner', () => ({
|
|
toast: {
|
|
success: jest.fn(),
|
|
error: jest.fn(),
|
|
},
|
|
}));
|
|
|
|
jest.mock('@/actions/update-list', () => ({
|
|
updateList: jest.fn(),
|
|
}));
|
|
|
|
jest.mock('@/actions/delete-list', () => ({
|
|
deleteList: jest.fn(),
|
|
}));
|
|
|
|
jest.mock('@/actions/copy-list', () => ({
|
|
copyList: jest.fn(),
|
|
}));
|
|
|
|
jest.mock('@/actions/update-board', () => ({
|
|
updateBoard: jest.fn(),
|
|
}));
|
|
|
|
jest.mock('@/actions/create-card', () => ({
|
|
createCard: jest.fn(),
|
|
}));
|