Skip to content

Commit

Permalink
Fix symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Aug 31, 2023
1 parent 51c61f4 commit 88df0fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/example-next-13/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
/* eslint-env node */
const nextJest = require('next/jest');

const createJestConfig = nextJest({dir: './'});

module.exports = createJestConfig({
moduleNameMapper: {
'^next$': require.resolve('next'),
'^next/navigation$': require.resolve('next/navigation')
},
testEnvironment: 'jsdom',
rootDir: 'src'
});

0 comments on commit 88df0fe

Please sign in to comment.