15 lines
288 B
JavaScript
15 lines
288 B
JavaScript
|
/** @type {import('jest').Config} */
|
||
|
|
||
|
const config = {
|
||
|
moduleFileExtensions: ['js', 'json', 'ts'],
|
||
|
rootDir: '.',
|
||
|
testEnvironment: 'node',
|
||
|
testRegex: '.e2e-spec.ts$',
|
||
|
transform: {
|
||
|
'^.+\\.(t|j)s$': 'ts-jest',
|
||
|
},
|
||
|
moduleNameMapper: { '^uuid$': 'uuid' },
|
||
|
};
|
||
|
|
||
|
module.exports = config;
|