From 3b1871a72612037e35697dd5693aadebac740d28 Mon Sep 17 00:00:00 2001 From: matthewp Date: Wed, 22 Feb 2023 14:51:37 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/core/routing/manifest/create.ts | 4 ++-- packages/astro/src/core/routing/manifest/serialization.ts | 2 +- packages/astro/test/ssr-prerender.test.js | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/astro/src/core/routing/manifest/create.ts b/packages/astro/src/core/routing/manifest/create.ts index 7e9738e43f..8c7514969e 100644 --- a/packages/astro/src/core/routing/manifest/create.ts +++ b/packages/astro/src/core/routing/manifest/create.ts @@ -332,7 +332,7 @@ export function createRouteManifest( component, generate, pathname: pathname || undefined, - prerender: false + prerender: false, }); } }); @@ -408,7 +408,7 @@ export function createRouteManifest( component, generate, pathname: pathname || void 0, - prerender: false + prerender: false, }); }); diff --git a/packages/astro/src/core/routing/manifest/serialization.ts b/packages/astro/src/core/routing/manifest/serialization.ts index 361c60cbad..f27477ecae 100644 --- a/packages/astro/src/core/routing/manifest/serialization.ts +++ b/packages/astro/src/core/routing/manifest/serialization.ts @@ -24,6 +24,6 @@ export function deserializeRouteData(rawRouteData: SerializedRouteData): RouteDa generate: getRouteGenerator(rawRouteData.segments, rawRouteData._meta.trailingSlash), pathname: rawRouteData.pathname || undefined, segments: rawRouteData.segments, - prerender: rawRouteData.prerender + prerender: rawRouteData.prerender, }; } diff --git a/packages/astro/test/ssr-prerender.test.js b/packages/astro/test/ssr-prerender.test.js index 86328e22af..8139c293dc 100644 --- a/packages/astro/test/ssr-prerender.test.js +++ b/packages/astro/test/ssr-prerender.test.js @@ -59,8 +59,7 @@ describe('SSR: prerender', () => { expect(response.status).to.equal(200); const html = await response.text(); const $ = cheerio.load(html); - expect($('p').text()).to.include('not give 404') - + expect($('p').text()).to.include('not give 404'); }); - }) + }); });