diff --git a/packages/next-swc/crates/next-dev-tests/tests/integration/next/pages/404-navigate/input/pages/_error.tsx b/packages/next-swc/crates/next-dev-tests/tests/integration/next/pages/404-navigate/input/pages/_error.tsx deleted file mode 100644 index 44ee917818d51..0000000000000 --- a/packages/next-swc/crates/next-dev-tests/tests/integration/next/pages/404-navigate/input/pages/_error.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import { useTestHarness } from '@turbo/pack-test-harness' - -export default function ErrorPage(props: { static: 'static' }) { - useTestHarness((harness) => harness.markAsHydrated()) - - return
{props.static}
-} - -export function getStaticProps() { - return { - props: { - static: 'static', - }, - } -} diff --git a/packages/next-swc/crates/next-dev-tests/tests/integration/next/pages/404-navigate/input/pages/index.tsx b/packages/next-swc/crates/next-dev-tests/tests/integration/next/pages/404-navigate/input/pages/index.tsx deleted file mode 100644 index e73498717980c..0000000000000 --- a/packages/next-swc/crates/next-dev-tests/tests/integration/next/pages/404-navigate/input/pages/index.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import { useRef } from 'react' -import { Harness, useTestHarness } from '@turbo/pack-test-harness' - -export default function Page() { - const iframeRef = useRef(null) - - useTestHarness((harness) => runTests(harness, iframeRef.current!)) - - return ( -