diff options
author | 2023-05-02 07:08:56 +0000 | |
---|---|---|
committer | 2023-05-02 07:08:56 +0000 | |
commit | 980246f148cd849ddbf7a27f7ed62ab5b428d65b (patch) | |
tree | 3fb65329ea8916fec280cf76218c38ea43e507c5 | |
parent | abcefe55cd8ac2c6160c7854e7437a8720990cfc (diff) | |
download | astro-980246f148cd849ddbf7a27f7ed62ab5b428d65b.tar.gz astro-980246f148cd849ddbf7a27f7ed62ab5b428d65b.tar.zst astro-980246f148cd849ddbf7a27f7ed62ab5b428d65b.zip |
[ci] format
-rw-r--r-- | packages/astro/test/ssr-prerender-integrations.test.js | 14 |
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 |