Skip to content

Commit

Permalink
fix: fis jest config for ts-jest access
Browse files Browse the repository at this point in the history
  • Loading branch information
muselesscreator committed Aug 7, 2023
1 parent deacfed commit 3b8f66a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const path = require('path');
const fs = require('fs');
const { jsWithTs: tsjPreset } = require('ts-jest/presets');

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

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

0 comments on commit 3b8f66a

Please sign in to comment.