dyno-bot/Dyno-moderation-master/jest.config.js

18 lines
344 B
JavaScript
Raw Normal View History

2020-09-12 20:08:48 +02:00
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',
],
};