Skip to content

Commit

Permalink
Update integration/compiler-mjs-cjs-output-test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
  • Loading branch information
lpsinger and MichaelDeBoey authored Sep 7, 2023
1 parent a5ec0ba commit d91e190
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions integration/compiler-mjs-cjs-output-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,6 @@ test.describe("", () => {
serverBuildPath: "build/index.${serverModuleExt}",
};
`,
"app/routes/_index.tsx": js`
import { json } from "@remix-run/node";
import { useLoaderData, Link } from "@remix-run/react";
export function loader() {
return json("pizza");
}
export default function Index() {
let data = useLoaderData();
return (
<div>
{data}
<Link to="/burgers">Other Route</Link>
</div>
)
}
`,
},
});

Expand Down

0 comments on commit d91e190

Please sign in to comment.