Skip to content

Commit

Permalink
Unit tests for services, prisma client mocking
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwong89 committed Dec 13, 2024
1 parent ce3c721 commit afe72b3
Show file tree
Hide file tree
Showing 6 changed files with 1,479 additions and 1,566 deletions.
3 changes: 2 additions & 1 deletion app/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ module.exports = {
clearMocks: true,
preset: 'ts-jest',
testEnvironment: 'node',
collectCoverage: true
collectCoverage: true,
setupFilesAfterEnv: ['./tests/__mocks__/prismaMock.ts']
};
Loading

0 comments on commit afe72b3

Please sign in to comment.