mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2024-11-24 08:43:31 +01:00
21 lines
480 B
JavaScript
21 lines
480 B
JavaScript
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
roots: ['./test'],
|
|
transform: { '\\.ts$': ['ts-jest'] },
|
|
testRegex: '(/test/.*|(\\.|/)(test|spec))\\.(ts)$',
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
moduleNameMapper: {
|
|
'src/(.*)': '<rootDir>/src/$1',
|
|
'test/(.*)': '<rootDir>/test/$1',
|
|
},
|
|
globals: {
|
|
'ts-jest': {
|
|
tsconfig: {
|
|
// allow js in typescript
|
|
allowJs: true,
|
|
},
|
|
},
|
|
},
|
|
};
|