mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-12-01 06:55:45 +01:00
18 lines
399 B
JavaScript
18 lines
399 B
JavaScript
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
roots: ['<rootDir>/src'],
|
|
testMatch: [
|
|
'**/__tests__/**/*.+(ts|tsx|js)',
|
|
'**/?(*.)+(spec|test).+(ts|tsx|js)'
|
|
],
|
|
transform: {
|
|
'^.+\.(ts|tsx)$': 'ts-jest',
|
|
},
|
|
collectCoverageFrom: [
|
|
'src/**/*.{js,ts}',
|
|
'!src/server.ts',
|
|
'!src/**/*.d.ts'
|
|
],
|
|
}; |