Skip to content

Commit

Permalink
removed condition
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rajat19 committed Jul 3, 2024
1 parent 1b32199 commit 22116fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/jest-config/src/readConfigFileAndSetRootDir.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ async function registerTsNode(): Promise<Service> {
moduleTypes: {
'**': 'cjs',
},
// eslint-disable-next-line no-unneeded-ternary
transpileOnly: process.env.DISABLE_TS_NODE == 'True' ? true : false,
transpileOnly: process.env.DISABLE_TS_NODE == 'True',
});
} catch (error: any) {
if (error.code === 'ERR_MODULE_NOT_FOUND') {
Expand Down

0 comments on commit 22116fc

Please sign in to comment.