Fixed Small Card Form Issue and Added Tests

This commit is contained in:
Ahmad 2025-01-01 19:02:18 -05:00
parent dbbfc7a9d8
commit 0727706d78
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
5 changed files with 112 additions and 26 deletions

View file

@ -1,5 +1,4 @@
import '@testing-library/jest-dom';
import { toast } from 'sonner';
jest.mock('sonner', () => ({
toast: {
@ -23,3 +22,7 @@ jest.mock('@/actions/copy-list', () => ({
jest.mock('@/actions/update-board', () => ({
updateBoard: jest.fn(),
}));
jest.mock('@/actions/create-card', () => ({
createCard: jest.fn(),
}));