16 lines
375 B
JavaScript
16 lines
375 B
JavaScript
/** @type {import('jest').Config} */
|
|
module.exports = {
|
|
clearMocks: true,
|
|
moduleFileExtensions: ['ts', 'js', 'json'],
|
|
testEnvironment: 'node',
|
|
testMatch: ['<rootDir>/tests/**/*.test.ts'],
|
|
transform: {
|
|
'^.+\\.ts$': [
|
|
'ts-jest',
|
|
{
|
|
tsconfig: '<rootDir>/tsconfig.test.json',
|
|
},
|
|
],
|
|
},
|
|
};
|