Added jest testing.

This commit is contained in:
Mike Cao 2024-03-01 13:25:32 -08:00
parent 2363b03d1c
commit 2a8437cac9
5 changed files with 1338 additions and 23 deletions

7
jest.config.ts Normal file
View file

@ -0,0 +1,7 @@
export default {
roots: ['./src'],
testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
},
};