metadata-action/jest.config.ts

14 lines
310 B
TypeScript
Raw Normal View History

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