Skip to content

Commit

Permalink
docs: update upgrade to jest28 url to point to archive url (#14988)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdenham committed Mar 26, 2024
1 parent 2569870 commit 71f0ba4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ exports[`ScriptTransformer throws an error if \`process\` doesn't return an obje
<red> should return an object or a Promise resolving to an object. The object </color>
<red> must have \`code\` property with a string of processed code.</color>
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
<red> <bold>Code Transformation Documentation:</intensity></color>
<red> https://jestjs.io/docs/code-transformation</color>
<red></color>"
Expand All @@ -430,7 +430,7 @@ exports[`ScriptTransformer throws an error if \`process\` doesn't return an obje
<red> should return an object or a Promise resolving to an object. The object </color>
<red> must have \`code\` property with a string of processed code.</color>
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
<red> <bold>Code Transformation Documentation:</intensity></color>
<red> https://jestjs.io/docs/code-transformation</color>
<red></color>"
Expand All @@ -443,7 +443,7 @@ exports[`ScriptTransformer throws an error if \`process\` doesn't return an obje
<red> should return an object or a Promise resolving to an object. The object </color>
<red> must have \`code\` property with a string of processed code.</color>
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
<red> <bold>Code Transformation Documentation:</intensity></color>
<red> https://jestjs.io/docs/code-transformation</color>
<red></color>"
Expand All @@ -456,7 +456,7 @@ exports[`ScriptTransformer throws an error if \`process\` doesn't return an obje
<red> should return an object or a Promise resolving to an object. The object </color>
<red> must have \`code\` property with a string of processed code.</color>
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
<red> <bold>Code Transformation Documentation:</intensity></color>
<red> https://jestjs.io/docs/code-transformation</color>
<red></color>"
Expand All @@ -469,7 +469,7 @@ exports[`ScriptTransformer throws an error if \`processAsync\` doesn't return a
<red> should return an object or a Promise resolving to an object. The object </color>
<red> must have \`code\` property with a string of processed code.</color>
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
<red> <bold>Code Transformation Documentation:</intensity></color>
<red> https://jestjs.io/docs/code-transformation</color>
<red></color>"
Expand All @@ -482,7 +482,7 @@ exports[`ScriptTransformer throws an error if \`processAsync\` doesn't return a
<red> should return an object or a Promise resolving to an object. The object </color>
<red> must have \`code\` property with a string of processed code.</color>
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
<red> <bold>Code Transformation Documentation:</intensity></color>
<red> https://jestjs.io/docs/code-transformation</color>
<red></color>"
Expand All @@ -495,7 +495,7 @@ exports[`ScriptTransformer throws an error if \`processAsync\` doesn't return a
<red> should return an object or a Promise resolving to an object. The object </color>
<red> must have \`code\` property with a string of processed code.</color>
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
<red> <bold>Code Transformation Documentation:</intensity></color>
<red> https://jestjs.io/docs/code-transformation</color>
<red></color>"
Expand All @@ -508,7 +508,7 @@ exports[`ScriptTransformer throws an error if \`processAsync\` doesn't return a
<red> should return an object or a Promise resolving to an object. The object </color>
<red> must have \`code\` property with a string of processed code.</color>
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
<red> <bold>Code Transformation Documentation:</intensity></color>
<red> https://jestjs.io/docs/code-transformation</color>
<red></color>"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-transform/src/runtimeErrorsAndWarnings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const DOCUMENTATION_NOTE = ` ${chalk.bold(
const UPGRADE_NOTE = ` ${chalk.bold(
'This error may be caused by a breaking change in Jest 28:',
)}
https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer
https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
`;

export const makeInvalidReturnValueError = (transformPath: string): string =>
Expand Down

0 comments on commit 71f0ba4

Please sign in to comment.