Skip to content

Commit 167b6f2

Browse files
committed
feat: add basic jest setup
1 parent 9029ed0 commit 167b6f2

File tree

5 files changed

+2060
-52
lines changed

5 files changed

+2060
-52
lines changed

jest.config.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export default {
2+
roots: ['<rootDir>/src'],
3+
testMatch: [
4+
'**/__tests__/**/*.+(ts|tsx|js)',
5+
'**/?(*.)+(spec|test).+(ts|tsx|js)'
6+
],
7+
transform: {
8+
'^.+\\.(ts|tsx)$': 'ts-jest'
9+
}
10+
};

0 commit comments

Comments
 (0)