rsnext/test/production
Tomer Aberbach 4970d7a0e8
Set __NEXT_NEW_LINK_BEHAVIOR in Jest tests when newNextLinkBehavior is true (#40702)
Fixes #40463

Could use some help figuring out where to add a test! I looked around
and found
[`jest-next-swc.test.ts`](https://github.com/vercel/next.js/blob/canary/test/unit/jest-next-swc.test.ts),
but I don't think I can use that to test this fix. Anyways, from my
local testing this PR seems to fix the issue.

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2022-09-21 22:36:59 -07:00
..
ci-missing-typescript-deps Remove un-necessary internal jest-worker error during ts/lint error (#39886) 2022-08-24 09:29:27 -05:00
custom-error-500 Fix handling with custom _error and pages/500 (#40110) 2022-08-30 18:14:12 -05:00
dependencies-can-use-env-vars-in-middlewares feat(middleware)!: forbids middleware response body (#36835) 2022-05-19 22:02:20 +00:00
disable-fallback-polyfills fix: loosen webpack compilation with fallbackNodePolyfills: false (#40612) 2022-09-16 13:23:56 -07:00
edge-config-validations Rename allowDynamic to unstable_allowDynamic (#40496) 2022-09-12 15:32:18 -07:00
edge-runtime-is-addressable Upgrade edge-runtime + make EdgeRuntime value overridable with an env var on compilation (#38331) 2022-07-12 15:18:59 +00:00
emit-decorator-metadata Client directive (#40415) 2022-09-18 00:00:16 +00:00
enoent-during-require Ensure ENOENT error is not ignored when loading pages (#37486) 2022-06-06 14:35:26 -04:00
escheck-output Fix failing escheck test (#39365) 2022-08-05 12:30:42 -05:00
eslint-plugin-deps Upgrade typescript to 4.8.2 (#39979) 2022-08-29 16:56:02 +00:00
exported-runtimes-value-validation feat: enhance warning messages about unanalyzable config field (#38907) 2022-07-22 19:31:47 +00:00
fallback-export-error Update check for fallback pages during export (#33323) 2022-01-17 14:44:45 +00:00
fatal-render-errror Ensure default _app is used when falling back to default _error (#39467) 2022-08-10 11:36:22 -05:00
generate-middleware-source-maps [edge] enable edge compiler source maps by default (#38365) 2022-07-06 18:17:57 +00:00
jest Set __NEXT_NEW_LINK_BEHAVIOR in Jest tests when newNextLinkBehavior is true (#40702) 2022-09-21 22:36:59 -07:00
middleware-environment-variables-in-node-server-reflect-the-usage-inference feat(middleware)!: forbids middleware response body (#36835) 2022-05-19 22:02:20 +00:00
middleware-is-not-allowed-when-using-serverless-target Throw an error when target: 'serverless' is used with Middleware (#37819) 2022-06-19 13:17:18 +00:00
middleware-typescript Upgrade typescript to 4.8.2 (#39979) 2022-08-29 16:56:02 +00:00
minimal-mode-response-cache Move outputStandalone config (#37994) 2022-06-24 14:58:35 -05:00
pnpm-support Move outputStandalone config (#37994) 2022-06-24 14:58:35 -05:00
postcss-plugin-config-as-string allow to provide postcss plugin options as a string (#35173) 2022-04-08 16:58:50 +00:00
prerender-prefetch Add config for opting out of optimistic client cache behavior (#38774) 2022-07-26 10:27:39 -05:00
reading-request-body-in-middleware feat(middleware)!: forbids middleware response body (#36835) 2022-05-19 22:02:20 +00:00
required-server-files Fix tracing edge-runtime dependencies (#39009) 2022-07-26 10:47:34 -05:00
standalone-mode-and-optimizecss Move outputStandalone config (#37994) 2022-06-24 14:58:35 -05:00
typescript-basic Update to stable: next/future/image, remotePatterns, unoptimized (#40142) 2022-08-31 22:44:17 +00:00
required-server-files-i18n.test.ts Subresource Integrity for App Directory (#39729) 2022-09-08 15:17:15 -07:00
required-server-files.test.ts Subresource Integrity for App Directory (#39729) 2022-09-08 15:17:15 -07:00