All checks were successful
forgejo/Procyon/seedling/pipeline/head This commit looks good
15 lines
335 B
JavaScript
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;
|