UNPKG

csv-to-markdown-table

Version:

JavaScript/Node.js Csv to Markdown Table Converter

25 lines (23 loc) 682 B
/** @type {import('ts-jest').JestConfigWithTsJest} */ const config = { preset : 'ts-jest', testEnvironment : 'node', transform : { '^.+\\.tsx?$': ['ts-jest', { tsconfig: 'tsconfig.json', }], }, moduleFileExtensions : ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], testMatch : ['**/test/**/*.ts', '**/test/**/*.js'], testPathIgnorePatterns: ['/node_modules/', '/lib/', '.*\\.d\\.ts$'], collectCoverageFrom : [ 'src/**/*.ts', '!**/node_modules/**', ], coverageReporters : ['text', 'lcov'], extensionsToTreatAsEsm: ['.ts'], moduleNameMapper : { '^(\\.{1,2}/.*)\\.js$': '$1', }, }; export default config;