fix: invalid identifier in manifest (#2070)

This commit is contained in:
Marvin Hagemeister
2023-11-27 11:20:40 +01:00
committed by GitHub
parent 81e71adad6
commit 9d5e916e4c
9 changed files with 40 additions and 11 deletions
+10
View File
@@ -77,3 +77,13 @@ Deno.test("support <Head /> with jsx precompile", async () => {
},
);
});
Deno.test("Ensure manifest has valid specifiers", async () => {
await withFakeServe(
"./tests/fixture/main.ts",
async (server) => {
const doc = await server.getHtml("/foo.bar.baz");
assertTextMany(doc, "p", ["it works"]);
},
);
});