mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 04:33:10 +00:00
Started Adding Jest and Tests
This commit is contained in:
parent
542405be98
commit
64c366998e
9 changed files with 3047 additions and 59 deletions
11
jest.setup.ts
Normal file
11
jest.setup.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import '@testing-library/jest-dom';
|
||||
|
||||
jest.mock('@clerk/nextjs/server', () => {
|
||||
return {
|
||||
auth: jest.fn().mockImplementation(() => {
|
||||
return {
|
||||
run: () => Promise.resolve({ id: '' }),
|
||||
};
|
||||
}),
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue