Skip to content

Commit

Permalink
fix: revert ts jest transform back to imported one
Browse files Browse the repository at this point in the history
  • Loading branch information
muselesscreator committed Aug 7, 2023
1 parent 73ec49a commit 4f794d2
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 4f794d2

Please sign in to comment.