mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 04:33:10 +00:00
Fixed Small Card Form Issue and Added Tests
This commit is contained in:
parent
dbbfc7a9d8
commit
0727706d78
5 changed files with 112 additions and 26 deletions
|
@ -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(),
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue