Skip to content

Commit 6fb2c04

Browse files
committed
1 parent 3bd0487 commit 6fb2c04

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/e2e/app-router/e2e/isr.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ test.describe("dynamicParams set to true", () => {
103103
test("should be HIT on a path that was prebuilt", async ({ page }) => {
104104
const res = await page.goto("/isr/dynamic-params-true/1");
105105
expect(res?.status()).toEqual(200);
106-
// TODO: sync this to aws
107106
const cacheHeader = res?.headers()["x-nextjs-cache"] ?? res?.headers()["x-opennext-cache"];
108107
expect(cacheHeader).toEqual("HIT");
109108
const title = await page.getByTestId("title").textContent();
@@ -117,7 +116,6 @@ test.describe("dynamicParams set to true", () => {
117116
// We are gonna skip this one for now, turborepo caching can cause this page to be STALE once deployed
118117
test.skip("should SSR on a path that was not prebuilt", async ({ page }) => {
119118
const res = await page.goto("/isr/dynamic-params-true/11");
120-
// TODO: sync this to aws
121119
const cacheHeader = res?.headers()["x-nextjs-cache"] ?? res?.headers()["x-opennext-cache"];
122120
expect(cacheHeader).toEqual("MISS");
123121
const title = await page.getByTestId("title").textContent();
@@ -144,7 +142,6 @@ test.describe("dynamicParams set to false", () => {
144142
test("should be HIT on a path that was prebuilt", async ({ page }) => {
145143
const res = await page.goto("/isr/dynamic-params-false/1");
146144
expect(res?.status()).toEqual(200);
147-
// TODO: sync this to aws
148145
const cacheHeader = res?.headers()["x-nextjs-cache"] ?? res?.headers()["x-opennext-cache"];
149146
expect(cacheHeader).toEqual("HIT");
150147
const title = await page.getByTestId("title").textContent();

0 commit comments

Comments
 (0)