Skip to content

Commit ec84af3

Browse files
committed
fix tests again
1 parent d7ce5da commit ec84af3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/@apphosting/adapter-nextjs/e2e/app.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ describe("app", () => {
1919
const response = await fetch(host);
2020
assert.ok(response.ok);
2121
assert.equal(response.headers.get("content-type")?.toLowerCase(), "text/html; charset=utf-8");
22-
assert.equal(response.headers.get("cache-control"), "s-maxage=31536000,");
22+
assert.equal(response.headers.get("cache-control"), "s-maxage=31536000, ");
2323
});
2424

2525
it("/ssg", async () => {
2626
const response = await fetch(posix.join(host, "ssg"));
2727
assert.ok(response.ok);
2828
assert.equal(response.headers.get("content-type")?.toLowerCase(), "text/html; charset=utf-8");
29-
assert.equal(response.headers.get("cache-control"), "s-maxage=31536000,");
29+
assert.equal(response.headers.get("cache-control"), "s-maxage=31536000, ");
3030
const text = await response.text();
3131
assert.ok(text.includes("SSG"));
3232
assert.ok(text.includes("Generated"));
@@ -81,7 +81,7 @@ describe("app", () => {
8181
const response = await fetch(posix.join(host, "isr", "demand"));
8282
assert.ok(response.ok);
8383
assert.equal(response.headers.get("content-type")?.toLowerCase(), "text/html; charset=utf-8");
84-
assert.equal(response.headers.get("cache-control"), "s-maxage=31536000,");
84+
assert.equal(response.headers.get("cache-control"), "s-maxage=31536000, ");
8585
const text = await response.text();
8686
assert.ok(text.includes("A cached page"));
8787
assert.ok(text.includes("Generated"));

0 commit comments

Comments
 (0)