14 lines
323 B
JavaScript
14 lines
323 B
JavaScript
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
collectCoverage: true,
|
|
coverageDirectory: 'coverage',
|
|
collectCoverageFrom: [
|
|
'**/*.ts',
|
|
'!/nodemodules/',
|
|
'!/jest.config.js/',
|
|
'!/coverage/',
|
|
'!**/server.ts',
|
|
],
|
|
}; |