metadata-action/jest.config.ts

14 lines
310 B
TypeScript
Raw Normal View History

2020-10-25 02:25:23 +01:00
module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
setupFiles: ['dotenv/config'],
2020-10-25 02:25:23 +01:00
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.ts$': 'ts-jest'
},
moduleNameMapper: {
'^csv-parse/sync': '<rootDir>/node_modules/csv-parse/dist/cjs/sync.cjs'
},
verbose: true
};