Skip to content

Commit 068a950

Browse files
authored
test: add base unit tests (#32)
1 parent fca314d commit 068a950

34 files changed

+2286
-40
lines changed

jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
module.exports = {
22
roots: ['<rootDir>/src'],
3-
testMatch: ['**/__tests__/*.test.ts'],
3+
testMatch: ['**/__tests__/*.test.ts{,x}'],
44
transform: {
55
'^.+\\.tsx?$': '@swc/jest',
66
},
7+
testEnvironment: 'jsdom',
8+
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
79
};

0 commit comments

Comments
 (0)