Setup jest

This commit is contained in:
trickypr 2021-12-26 11:42:50 +11:00
parent c1b3ae80f9
commit 9fd97ec564
3 changed files with 2043 additions and 22 deletions

6
jest.config.js Normal file
View file

@ -0,0 +1,6 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['src/**/*.test.ts'],
}