Skip to content

Commit

Permalink
try using ts-node's experimentalResolver
Browse files Browse the repository at this point in the history
  • Loading branch information
akwodkiewicz committed May 15, 2024
1 parent 291df58 commit fae4275
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/jest-config/src/readConfigFileAndSetRootDir.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ async function registerTsNode(): Promise<Service> {
moduleTypes: {
'**': 'cjs',
},
experimentalResolver: true,

Check failure on line 127 in packages/jest-config/src/readConfigFileAndSetRootDir.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected object keys to be in ascending order. 'experimentalResolver' should be before 'moduleTypes'
});
} catch (error: any) {
if (error.code === 'ERR_MODULE_NOT_FOUND') {
Expand Down

0 comments on commit fae4275

Please sign in to comment.