seedling/source/api/jest.config.js
Roman Jaroš 6ea4c9022d Replace HapiJs with NestJs as API framework
Change-Id: I54dc6c5f6377358e4f6614378fbb253b0c7841a9
2023-09-14 20:18:20 +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;