Skip to content

Commit 5393e99

Browse files
committed
feat: configuring jest
1 parent 0bff363 commit 5393e99

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

jest.config.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
coverageProvider: 'v8',
3+
testEnvironment: 'jsdom',
4+
testPathIgnorePatterns: ['<rootDir>/node_modules/', '<rootDir>/dist/'],
5+
transform: {
6+
'^.+\\.(ts|tsx)$': '@swc/jest',
7+
'^.+\\.(js|jsx)$': '@swc/jest',
8+
},
9+
};

0 commit comments

Comments
 (0)