We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
"type": "module"
1 parent 611b85f commit d0a8f85Copy full SHA for d0a8f85
jest.config.js
@@ -1,5 +1,8 @@
1
-module.exports = {
+export default {
2
preset: 'ts-jest/presets/js-with-ts',
3
testEnvironment: 'jsdom',
4
setupFiles: ['<rootDir>/node_package/tests/jest.setup.js'],
5
+ moduleNameMapper: {
6
+ '^(\\.{1,2}/.*)\\.js$': '$1'
7
+ },
8
};
0 commit comments