Skip to content

Commit

Permalink
test: modify location of ts-jest config in jest.config.js (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeworxet committed Nov 15, 2022
1 parent b8f68b9 commit 42a2b18
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
transform: {
'^.+\\.tsx?$': 'ts-jest',
'^.+\\.tsx?$': [
'ts-jest',
{
tsconfig: 'tsconfig.test.json',
},
],
},

// Test spec file resolution pattern
Expand All @@ -24,9 +29,4 @@ module.exports = {
testTimeout: 20000,

//setupFiles: ['./tests/jest.setup.ts'],
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
};

0 comments on commit 42a2b18

Please sign in to comment.