summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bluwy <bluwy@users.noreply.github.com> 2023-05-02 07:08:56 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2023-05-02 07:08:56 +0000
commit980246f148cd849ddbf7a27f7ed62ab5b428d65b (patch)
tree3fb65329ea8916fec280cf76218c38ea43e507c5
parentabcefe55cd8ac2c6160c7854e7437a8720990cfc (diff)
downloadastro-980246f148cd849ddbf7a27f7ed62ab5b428d65b.tar.gz
astro-980246f148cd849ddbf7a27f7ed62ab5b428d65b.tar.zst
astro-980246f148cd849ddbf7a27f7ed62ab5b428d65b.zip
[ci] format
-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