mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-22 20:51:21 +00:00
14 lines
296 B
JavaScript
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"
|
|
}
|
|
}
|