Skip to content

Commit

Permalink
Merge pull request #159 from daniel-ac-martin/fix-unit-tests
Browse files Browse the repository at this point in the history
Temp-fix: Use isolatedModules in ts-jest
  • Loading branch information
daniel-ac-martin authored Nov 19, 2020
2 parents 2cf17c1 + 439432d commit c846361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions jest.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const config = {
],
globals: {
'ts-jest': {
isolatedModules: true,
tsConfig: path.resolve(__dirname, 'tsconfig.nodejs.json')
}
}
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.nodejs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"extends": "./tsconfig.build.json",
"compilerOptions": {
"module": "commonjs",
"removeComments": true,
"removeComments": true
}
}

0 comments on commit c846361

Please sign in to comment.