diff --git a/packages/jest-transform/src/__tests__/__snapshots__/ScriptTransformer.test.ts.snap b/packages/jest-transform/src/__tests__/__snapshots__/ScriptTransformer.test.ts.snap index d90b1d7fca58..edf5da4fc49a 100644 --- a/packages/jest-transform/src/__tests__/__snapshots__/ScriptTransformer.test.ts.snap +++ b/packages/jest-transform/src/__tests__/__snapshots__/ScriptTransformer.test.ts.snap @@ -417,7 +417,7 @@ exports[`ScriptTransformer throws an error if \`process\` doesn't return an obje should return an object or a Promise resolving to an object. The object must have \`code\` property with a string of processed code. 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 Code Transformation Documentation: https://jestjs.io/docs/code-transformation " @@ -430,7 +430,7 @@ exports[`ScriptTransformer throws an error if \`process\` doesn't return an obje should return an object or a Promise resolving to an object. The object must have \`code\` property with a string of processed code. 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 Code Transformation Documentation: https://jestjs.io/docs/code-transformation " @@ -443,7 +443,7 @@ exports[`ScriptTransformer throws an error if \`process\` doesn't return an obje should return an object or a Promise resolving to an object. The object must have \`code\` property with a string of processed code. 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 Code Transformation Documentation: https://jestjs.io/docs/code-transformation " @@ -456,7 +456,7 @@ exports[`ScriptTransformer throws an error if \`process\` doesn't return an obje should return an object or a Promise resolving to an object. The object must have \`code\` property with a string of processed code. 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 Code Transformation Documentation: https://jestjs.io/docs/code-transformation " @@ -469,7 +469,7 @@ exports[`ScriptTransformer throws an error if \`processAsync\` doesn't return a should return an object or a Promise resolving to an object. The object must have \`code\` property with a string of processed code. 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 Code Transformation Documentation: https://jestjs.io/docs/code-transformation " @@ -482,7 +482,7 @@ exports[`ScriptTransformer throws an error if \`processAsync\` doesn't return a should return an object or a Promise resolving to an object. The object must have \`code\` property with a string of processed code. 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 Code Transformation Documentation: https://jestjs.io/docs/code-transformation " @@ -495,7 +495,7 @@ exports[`ScriptTransformer throws an error if \`processAsync\` doesn't return a should return an object or a Promise resolving to an object. The object must have \`code\` property with a string of processed code. 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 Code Transformation Documentation: https://jestjs.io/docs/code-transformation " @@ -508,7 +508,7 @@ exports[`ScriptTransformer throws an error if \`processAsync\` doesn't return a should return an object or a Promise resolving to an object. The object must have \`code\` property with a string of processed code. 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 Code Transformation Documentation: https://jestjs.io/docs/code-transformation " diff --git a/packages/jest-transform/src/runtimeErrorsAndWarnings.ts b/packages/jest-transform/src/runtimeErrorsAndWarnings.ts index 3d34830b5701..14173e22c753 100644 --- a/packages/jest-transform/src/runtimeErrorsAndWarnings.ts +++ b/packages/jest-transform/src/runtimeErrorsAndWarnings.ts @@ -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 =>