3
0
Fork 0
mirror of https://gitea.com/docker/metadata-action.git synced 2024-11-23 12:39:32 +01:00
docker-metadata/jest.config.ts
CrazyMax b7ad32e4f5
Fix csv-parse implementation since major update
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-04-25 13:35:08 +02:00

13 lines
310 B
TypeScript

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