Skip to content

Commit

Permalink
build(jest): use ts-jest isolatedModules (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai committed Mar 2, 2024
1 parent a962a93 commit 2d08708
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitpod.yml
Expand Up @@ -4,7 +4,7 @@
tasks:
- init: |
yarn install
yarn test
yarn test --maxWorkers=30%
github:
# https://www.gitpod.io/docs/prebuilds/#configure-prebuilds
prebuilds:
Expand Down
4 changes: 3 additions & 1 deletion jest.config.js
@@ -1,5 +1,7 @@
/** @type {import('jest').Config} */
module.exports = {
automock: false,
transform: {"\\.ts$": ['ts-jest']},
transform: {
"\\.ts$": ['ts-jest', { isolatedModules: true }],
},
};

0 comments on commit 2d08708

Please sign in to comment.