feat: add error messages for missing build cache (#2551)

This commit is contained in:
Marvin Hagemeister
2024-06-26 15:33:25 +02:00
committed by GitHub
parent 28eca25a42
commit fc820e8965
8 changed files with 89 additions and 12 deletions
+1 -1
View File
@@ -4,11 +4,11 @@ import { buildProd, withBrowserApp } from "../tests/test_utils.tsx";
import { expect } from "@std/expect";
import { retry } from "@std/async/retry";
await buildProd(app);
const handler = await app.handler();
Deno.test("CORS should not set on GET /fresh-badge.svg", async () => {
const req = new Request("http://localhost/fresh-badge.svg");
await buildProd(app);
const resp = await handler(req);
await resp?.body?.cancel();