Skip to content

Commit a09efa9

Browse files
authored
Merge pull request #5 from Space48/hotfix/1.0.1
fix: add jest.config.js for proper test environment
2 parents a23b717 + 18935ca commit a09efa9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

jest.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
preset: 'ts-jest',
3+
testEnvironment: 'jsdom',
4+
transform: {
5+
'^.+\.tsx?$': 'ts-jest',
6+
},
7+
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node']
8+
};

0 commit comments

Comments
 (0)