data-structure-typed/jest.config.js

14 lines
443 B
JavaScript
Raw Normal View History

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