aqua-playground/jest.config.cjs
2023-02-21 11:25:47 +04:00

17 lines
337 B
JavaScript

module.exports = {
testEnvironment: 'node',
extensionsToTreatAsEsm: ['.ts'],
transform: {
'^.+\\.tsx?$': [
'ts-jest',
{
useESM: true,
},
],
},
testPathIgnorePatterns: ['dist'],
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
};