chardet/jest.config.js

10 lines
253 B
JavaScript

module.exports = {
testEnvironment: 'node',
testRegex: '.*test.ts$',
transform: { '^.+\\.ts?$': 'ts-jest' },
moduleFileExtensions: ['ts', 'js', 'json'],
rootDir: 'src',
collectCoverage: true,
coverageDirectory: '<rootDir>/../coverage',
};