Skip to content

Commit

Permalink
Fix tests under react 17/nextjs
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-bell committed Jun 12, 2023
1 parent f650c4d commit 059a2cd
Show file tree
Hide file tree
Showing 5 changed files with 4,478 additions and 936 deletions.
8 changes: 8 additions & 0 deletions frontend/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,12 @@ module.exports = {
testEnvironment: 'jsdom',
transformIgnorePatterns: [`/node_modules/(?!${esModules})`],
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
transform: {
'^.+\\.tsx?$': [
'ts-jest',
{
tsconfig: "tsconfig.jest.json"
}
],
}
};
Loading

0 comments on commit 059a2cd

Please sign in to comment.