diff --git a/tests/fixture_island_nesting/routes/index.tsx b/tests/fixture_island_nesting/routes/index.tsx index 545694fe..408bece1 100644 --- a/tests/fixture_island_nesting/routes/index.tsx +++ b/tests/fixture_island_nesting/routes/index.tsx @@ -1,3 +1,27 @@ -export default function Home() { - return
; +import * as path from "https://deno.land/std@0.192.0/path/mod.ts"; + +const __dirname = path.dirname(path.fromFileUrl(import.meta.url)); + +const links: string[] = []; +for (const file of Deno.readDirSync(__dirname)) { + if (file.name.startsWith("index")) continue; + const name = path.basename(file.name, path.extname(file.name)); + links.push(name); +} + +export default function Home() { + return ( +