From 3b47a46091cf08520eb3ef8cd458aa22c2f6e7c9 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Tue, 27 Oct 2020 08:23:36 -0500 Subject: [PATCH] Update tests for stabilized field --- .../pages/not-found/fallback/[slug].js | 2 +- .../00-i18n-support-no-shared-lambdas/pages/not-found/index.js | 2 +- .../fixtures/00-i18n-support/pages/not-found/fallback/[slug].js | 2 +- .../test/fixtures/00-i18n-support/pages/not-found/index.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/now-next/test/fixtures/00-i18n-support-no-shared-lambdas/pages/not-found/fallback/[slug].js b/packages/now-next/test/fixtures/00-i18n-support-no-shared-lambdas/pages/not-found/fallback/[slug].js index 992fec8c387..34805f6d3f3 100644 --- a/packages/now-next/test/fixtures/00-i18n-support-no-shared-lambdas/pages/not-found/fallback/[slug].js +++ b/packages/now-next/test/fixtures/00-i18n-support-no-shared-lambdas/pages/not-found/fallback/[slug].js @@ -26,7 +26,7 @@ export default function Page(props) { export const getStaticProps = ({ params, locale, locales }) => { if (locale === 'en' || locale === 'nl') { return { - unstable_notFound: true, + notFound: true, }; } diff --git a/packages/now-next/test/fixtures/00-i18n-support-no-shared-lambdas/pages/not-found/index.js b/packages/now-next/test/fixtures/00-i18n-support-no-shared-lambdas/pages/not-found/index.js index 111218ca7c3..dbb87504b4e 100644 --- a/packages/now-next/test/fixtures/00-i18n-support-no-shared-lambdas/pages/not-found/index.js +++ b/packages/now-next/test/fixtures/00-i18n-support-no-shared-lambdas/pages/not-found/index.js @@ -24,7 +24,7 @@ export default function Page(props) { export const getStaticProps = ({ locale, locales }) => { if (locale === 'en' || locale === 'nl') { return { - unstable_notFound: true, + notFound: true, }; } diff --git a/packages/now-next/test/fixtures/00-i18n-support/pages/not-found/fallback/[slug].js b/packages/now-next/test/fixtures/00-i18n-support/pages/not-found/fallback/[slug].js index 992fec8c387..34805f6d3f3 100644 --- a/packages/now-next/test/fixtures/00-i18n-support/pages/not-found/fallback/[slug].js +++ b/packages/now-next/test/fixtures/00-i18n-support/pages/not-found/fallback/[slug].js @@ -26,7 +26,7 @@ export default function Page(props) { export const getStaticProps = ({ params, locale, locales }) => { if (locale === 'en' || locale === 'nl') { return { - unstable_notFound: true, + notFound: true, }; } diff --git a/packages/now-next/test/fixtures/00-i18n-support/pages/not-found/index.js b/packages/now-next/test/fixtures/00-i18n-support/pages/not-found/index.js index 111218ca7c3..dbb87504b4e 100644 --- a/packages/now-next/test/fixtures/00-i18n-support/pages/not-found/index.js +++ b/packages/now-next/test/fixtures/00-i18n-support/pages/not-found/index.js @@ -24,7 +24,7 @@ export default function Page(props) { export const getStaticProps = ({ locale, locales }) => { if (locale === 'en' || locale === 'nl') { return { - unstable_notFound: true, + notFound: true, }; }