aqua-playground/jest.config.cjs

17 lines
337 B
JavaScript
Raw Normal View History

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