mirror of
https://github.com/umami-software/umami.git
synced 2026-02-17 02:55:38 +01:00
Added jest testing.
This commit is contained in:
parent
2363b03d1c
commit
2a8437cac9
5 changed files with 1338 additions and 23 deletions
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',
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue