Added jest testing.
This commit is contained in:
7
jest.config.ts
Normal file
7
jest.config.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export default {
|
||||
roots: ['./src'],
|
||||
testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
|
||||
transform: {
|
||||
'^.+\\.(ts|tsx)$': 'ts-jest',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user