2023-08-11 17:11:08 +00:00
|
|
|
module.exports = {
|
2023-09-21 16:53:34 +00:00
|
|
|
preset: 'ts-jest',
|
|
|
|
testEnvironment: 'node',
|
2023-11-05 13:37:01 +00:00
|
|
|
testMatch: ['<rootDir>/test/unit/**/*.test.ts', '<rootDir>/test/unit/**/*.test.js'],
|
2023-09-21 16:53:34 +00:00
|
|
|
collectCoverage: true,
|
2023-09-22 02:40:12 +00:00
|
|
|
coverageReporters: ['clover', 'json', 'lcov', ['text', {skipFull: true}], "json-summary"],
|
2023-11-01 10:19:49 +00:00
|
|
|
coverageDirectory: 'coverage',
|
2023-11-05 13:37:01 +00:00
|
|
|
collectCoverageFrom: [
|
|
|
|
'src/data-structures/**/*.{ts,js}',
|
|
|
|
'src/types/**/*.{ts,js}',
|
|
|
|
'src/interfaces/**/*.{ts,js}',
|
|
|
|
],
|
2023-09-21 06:50:22 +00:00
|
|
|
};
|