summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/test/ssr-prerender-integrations.test.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/astro/test/ssr-prerender-integrations.test.js b/packages/astro/test/ssr-prerender-integrations.test.js
index 52a3ca421..29b8be0f5 100644
--- a/packages/astro/test/ssr-prerender-integrations.test.js
+++ b/packages/astro/test/ssr-prerender-integrations.test.js
@@ -12,13 +12,13 @@ describe('Integrations can hook into the prerendering decision', () => {
['astro:build:setup']({ pages, target }) {
if (target !== 'client') return;
// this page has `export const prerender = true`
- pages.get('src/pages/static.astro').route.prerender = false
-
+ pages.get('src/pages/static.astro').route.prerender = false;
+
// this page does not
- pages.get('src/pages/not-prerendered.astro').route.prerender = true
- }
- }
- }
+ pages.get('src/pages/not-prerendered.astro').route.prerender = true;
+ },
+ },
+ };
before(async () => {
fixture = await loadFixture({
@@ -29,7 +29,7 @@ describe('Integrations can hook into the prerendering decision', () => {
});
await fixture.build();
});
-
+
it('An integration can override the prerender flag', async () => {
// test adapter only hosts dynamic routes
// /static is expected to become dynamic