chore: fix ci (#1102)
This commit is contained in:
@@ -14,7 +14,10 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
deno: ["v1.x", "canary"]
|
# TODO(kt3k): Change this back to ["v1.x", "canary"]
|
||||||
|
# when denoland/deno#18572 is released.
|
||||||
|
# Note: v1.32.2 and v1.32.3 are not compatible with Fresh.
|
||||||
|
deno: ["v1.32.1", "canary"]
|
||||||
os: [macOS-latest, windows-latest, ubuntu-latest]
|
os: [macOS-latest, windows-latest, ubuntu-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
+3
-1
@@ -555,7 +555,9 @@ Deno.test("experimental Deno.serve", {
|
|||||||
assert(body.startsWith("bar"));
|
assert(body.startsWith("bar"));
|
||||||
const etag = resp.headers.get("etag");
|
const etag = resp.headers.get("etag");
|
||||||
assert(etag);
|
assert(etag);
|
||||||
assert(!etag.startsWith("W/"), "etag should be weak");
|
// TODO(kt3k): Enable this assertion when new Deno.serve is released.
|
||||||
|
// https://github.com/denoland/deno/pull/18568
|
||||||
|
// assert(etag.startsWith("W/"), "etag should be weak");
|
||||||
assertEquals(resp.headers.get("content-type"), "text/plain");
|
assertEquals(resp.headers.get("content-type"), "text/plain");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user