fix: missing Component with async app + layout (#1848)
This commit is contained in:
@@ -191,3 +191,13 @@ Deno.test({
|
||||
);
|
||||
},
|
||||
});
|
||||
|
||||
Deno.test("mix async app and layouts", async () => {
|
||||
await withFakeServe(
|
||||
"./tests/fixture_layouts_2/main.ts",
|
||||
async (server) => {
|
||||
const doc = await server.getHtml(`/`);
|
||||
assertSelector(doc, ".app > .root-layout > .home-page");
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user