diff --git a/packages/jest-transform/src/enhanceUnexpectedTokenMessage.ts b/packages/jest-transform/src/enhanceUnexpectedTokenMessage.ts index 35af795b6c89..77764b35f115 100644 --- a/packages/jest-transform/src/enhanceUnexpectedTokenMessage.ts +++ b/packages/jest-transform/src/enhanceUnexpectedTokenMessage.ts @@ -45,7 +45,7 @@ Here's what you can do: ${DOT}If you are trying to use ECMAScript Modules, see ${chalk.underline( 'https://jestjs.io/docs/ecmascript-modules', )} for how to enable it. -${DOT}If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript +${DOT}If you are trying to use TypeScript, see ${chalk.underline('https://jestjs.io/docs/getting-started#using-typescript')} ${DOT}To have some of your "node_modules" files transformed, you can specify a custom ${chalk.bold( '"transformIgnorePatterns"', )} in your config.