Skip to content

Commit 71f0ba4

Browse files
authored
docs: update upgrade to jest28 url to point to archive url (#14988)
1 parent 2569870 commit 71f0ba4

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

packages/jest-transform/src/__tests__/__snapshots__/ScriptTransformer.test.ts.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ exports[`ScriptTransformer throws an error if \`process\` doesn't return an obje
417417
<red> should return an object or a Promise resolving to an object. The object </color>
418418
<red> must have \`code\` property with a string of processed code.</color>
419419
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
420-
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
420+
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
421421
<red> <bold>Code Transformation Documentation:</intensity></color>
422422
<red> https://jestjs.io/docs/code-transformation</color>
423423
<red></color>"
@@ -430,7 +430,7 @@ exports[`ScriptTransformer throws an error if \`process\` doesn't return an obje
430430
<red> should return an object or a Promise resolving to an object. The object </color>
431431
<red> must have \`code\` property with a string of processed code.</color>
432432
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
433-
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
433+
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
434434
<red> <bold>Code Transformation Documentation:</intensity></color>
435435
<red> https://jestjs.io/docs/code-transformation</color>
436436
<red></color>"
@@ -443,7 +443,7 @@ exports[`ScriptTransformer throws an error if \`process\` doesn't return an obje
443443
<red> should return an object or a Promise resolving to an object. The object </color>
444444
<red> must have \`code\` property with a string of processed code.</color>
445445
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
446-
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
446+
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
447447
<red> <bold>Code Transformation Documentation:</intensity></color>
448448
<red> https://jestjs.io/docs/code-transformation</color>
449449
<red></color>"
@@ -456,7 +456,7 @@ exports[`ScriptTransformer throws an error if \`process\` doesn't return an obje
456456
<red> should return an object or a Promise resolving to an object. The object </color>
457457
<red> must have \`code\` property with a string of processed code.</color>
458458
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
459-
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
459+
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
460460
<red> <bold>Code Transformation Documentation:</intensity></color>
461461
<red> https://jestjs.io/docs/code-transformation</color>
462462
<red></color>"
@@ -469,7 +469,7 @@ exports[`ScriptTransformer throws an error if \`processAsync\` doesn't return a
469469
<red> should return an object or a Promise resolving to an object. The object </color>
470470
<red> must have \`code\` property with a string of processed code.</color>
471471
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
472-
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
472+
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
473473
<red> <bold>Code Transformation Documentation:</intensity></color>
474474
<red> https://jestjs.io/docs/code-transformation</color>
475475
<red></color>"
@@ -482,7 +482,7 @@ exports[`ScriptTransformer throws an error if \`processAsync\` doesn't return a
482482
<red> should return an object or a Promise resolving to an object. The object </color>
483483
<red> must have \`code\` property with a string of processed code.</color>
484484
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
485-
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
485+
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
486486
<red> <bold>Code Transformation Documentation:</intensity></color>
487487
<red> https://jestjs.io/docs/code-transformation</color>
488488
<red></color>"
@@ -495,7 +495,7 @@ exports[`ScriptTransformer throws an error if \`processAsync\` doesn't return a
495495
<red> should return an object or a Promise resolving to an object. The object </color>
496496
<red> must have \`code\` property with a string of processed code.</color>
497497
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
498-
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
498+
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
499499
<red> <bold>Code Transformation Documentation:</intensity></color>
500500
<red> https://jestjs.io/docs/code-transformation</color>
501501
<red></color>"
@@ -508,7 +508,7 @@ exports[`ScriptTransformer throws an error if \`processAsync\` doesn't return a
508508
<red> should return an object or a Promise resolving to an object. The object </color>
509509
<red> must have \`code\` property with a string of processed code.</color>
510510
<red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
511-
<red> https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer</color>
511+
<red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
512512
<red> <bold>Code Transformation Documentation:</intensity></color>
513513
<red> https://jestjs.io/docs/code-transformation</color>
514514
<red></color>"

packages/jest-transform/src/runtimeErrorsAndWarnings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const DOCUMENTATION_NOTE = ` ${chalk.bold(
1717
const UPGRADE_NOTE = ` ${chalk.bold(
1818
'This error may be caused by a breaking change in Jest 28:',
1919
)}
20-
https://jestjs.io/docs/28.x/upgrading-to-jest28#transformer
20+
https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
2121
`;
2222

2323
export const makeInvalidReturnValueError = (transformPath: string): string =>

0 commit comments

Comments
 (0)