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