From 980246f148cd849ddbf7a27f7ed62ab5b428d65b Mon Sep 17 00:00:00 2001 From: bluwy Date: Tue, 2 May 2023 07:08:56 +0000 Subject: [PATCH] [ci] format --- .../astro/test/ssr-prerender-integrations.test.js | 14 +++++++------- 1 file 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