2024-12-28 22:36:50 +00:00
|
|
|
import '@testing-library/jest-dom';
|
2025-01-01 21:46:43 +00:00
|
|
|
|
|
|
|
jest.mock('sonner', () => ({
|
|
|
|
toast: {
|
|
|
|
success: jest.fn(),
|
|
|
|
error: jest.fn(),
|
|
|
|
},
|
|
|
|
}));
|
|
|
|
|
2025-01-10 23:42:42 +00:00
|
|
|
jest.mock('lucide-react', () => ({
|
|
|
|
MoreHorizontal: () => null,
|
|
|
|
X: () => null,
|
|
|
|
Medal: () => null,
|
|
|
|
}));
|
|
|
|
|
2025-01-01 21:46:43 +00:00
|
|
|
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(),
|
|
|
|
}));
|
2025-01-02 00:02:18 +00:00
|
|
|
|
|
|
|
jest.mock('@/actions/create-card', () => ({
|
|
|
|
createCard: jest.fn(),
|
|
|
|
}));
|