1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-11-22 20:51:21 +00:00
haste-server/config/jest.config.js
2022-06-06 19:38:20 +02:00

14 lines
296 B
JavaScript

/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
rootDir: '../',
testRegex: '\\.test\\.ts$',
reporters: ['default'],
roots: [
"test"
],
moduleNameMapper: {
"src/(.*)": "<rootDir>/src/$1"
}
}