data-structure-typed/jest.config.js
2023-11-05 21:37:01 +08:00

14 lines
443 B
JavaScript

module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['<rootDir>/test/unit/**/*.test.ts', '<rootDir>/test/unit/**/*.test.js'],
collectCoverage: true,
coverageReporters: ['clover', 'json', 'lcov', ['text', {skipFull: true}], "json-summary"],
coverageDirectory: 'coverage',
collectCoverageFrom: [
'src/data-structures/**/*.{ts,js}',
'src/types/**/*.{ts,js}',
'src/interfaces/**/*.{ts,js}',
],
};