seedling/source/rest/jest.config.js
romanjaros da23b80647
All checks were successful
forgejo/Procyon/seedling/pipeline/head This commit looks good
Rename source folders
2023-10-24 20:43:21 +02:00

15 lines
335 B
JavaScript

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