Skip to content

Commit

Permalink
test: fix jest tests
Browse files Browse the repository at this point in the history
by mapping .js to an extensionless reference, which means .ts will be found
  • Loading branch information
wheresrhys committed Oct 30, 2024
1 parent f1f25f1 commit 16e96a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ export default {
},
moduleNameMapper: {
'@fetch-mock/core': '<rootDir>/packages/core/dist/cjs/index.js',
'(.+)\\.js': '$1',
},
};

0 comments on commit 16e96a1

Please sign in to comment.