Skip to content

Commit

Permalink
Merge pull request #434 from openedx/bw/alpha_jest_config
Browse files Browse the repository at this point in the history
fix: revert ts jest transform back to imported one
  • Loading branch information
muselesscreator authored Aug 8, 2023
2 parents 73ec49a + 4f794d2 commit d67776d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const path = require('path');
const fs = require('fs');
const { defaults: tsjPreset } = require('ts-jest/presets');

const presets = require('../lib/presets');

Expand Down Expand Up @@ -39,6 +40,6 @@ module.exports = {
configFile: presets.babel.resolvedFilepath,
},
],
'^.+\\.[tj]sx?$': path.resolve(__dirname, '../node_modules/.bin/ts-jest'),
...tsjPreset.transform,
},
};

0 comments on commit d67776d

Please sign in to comment.