seedling/source/rest/jest.config.js

16 lines
324 B
JavaScript
Raw Permalink Normal View History

/** @type {import('jest').Config} */
const config = {
2023-12-28 21:58:08 +00:00
moduleFileExtensions: ['js', 'json', 'ts'],
rootDir: 'src',
testRegex: '.\\.test\\.ts$',
transform: {
'^.+\\.(t|j)s$': 'ts-jest',
},
collectCoverageFrom: ['**/*.(t|j)s'],
coverageDirectory: '../coverage',
testEnvironment: 'node',
};
module.exports = config;