0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

[ci] format

This commit is contained in:
bluwy 2023-05-02 07:08:56 +00:00 committed by fredkbot
parent abcefe55cd
commit 980246f148

View file

@ -12,13 +12,13 @@ describe('Integrations can hook into the prerendering decision', () => {
['astro:build:setup']({ pages, target }) { ['astro:build:setup']({ pages, target }) {
if (target !== 'client') return; if (target !== 'client') return;
// this page has `export const prerender = true` // 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 // 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 () => { before(async () => {
fixture = await loadFixture({ fixture = await loadFixture({