dyno-bot/dyno-levelsranks-master/jest.config.js
2020-09-12 19:08:48 +01:00

19 lines
368 B
JavaScript

module.exports = {
testEnvironment: 'node',
transform: {
'.(ts|tsx)': '<rootDir>/preprocessor.js'
},
moduleFileExtensions: [
'ts',
'tsx',
'js',
'jsx',
],
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(ts|js)x?$',
coverageDirectory: 'coverage',
collectCoverageFrom: [
'src/**/*.{ts,tsx,js,jsx}',
'!src/**/*.d.ts',
],
};