Skip to content

Commit

Permalink
fixup! test: try using maxworkers for v9 to improve jest execution sp…
Browse files Browse the repository at this point in the history
…eeds on CI
  • Loading branch information
Hotell committed Mar 15, 2023
1 parent 323fd2e commit e5ec835
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jest.preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ const { pathsToModuleNameMapper } = require('ts-jest');

const tsConfig = require('./tsconfig.base.json');

const isCI = process.env.TF_BUILD;

console.log('v9 jest preset', { isCI });
const isCI = Boolean(process.env.TF_BUILD);

const tsPathAliases = pathsToModuleNameMapper(tsConfig.compilerOptions.paths, {
prefix: `<rootDir>/${path.relative(process.cwd(), __dirname)}/`,
Expand Down

0 comments on commit e5ec835

Please sign in to comment.