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
-2
View File
@@ -12,7 +12,6 @@ Deno.test("index.tsx route handler test...", async (t) => {
const ctx = createHandlerContext(req, { manifest });
// @ts-ignore handler is not null
const resp = handler.GET(req, ctx) as Response;
console.log("resp", resp);
expect(resp.status).toBe(307);
expect(resp.headers.get("Location")?.endsWith("init.ts"));
});
@@ -31,7 +30,6 @@ Deno.test("index.tsx route handler test...", async (t) => {
};
// @ts-ignore handler is not null
const resp = handler.GET(req, ctx) as Response;
// console.log("resp", resp);
expect(resp.status).toBe(200);
});
});