Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and astrobot-houston committed Feb 22, 2023
1 parent ccd72e6 commit 3b1871a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/core/routing/manifest/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export function createRouteManifest(
component,
generate,
pathname: pathname || undefined,
prerender: false
prerender: false,
});
}
});
Expand Down Expand Up @@ -408,7 +408,7 @@ export function createRouteManifest(
component,
generate,
pathname: pathname || void 0,
prerender: false
prerender: false,
});
});

Expand Down
2 changes: 1 addition & 1 deletion packages/astro/src/core/routing/manifest/serialization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
}
5 changes: 2 additions & 3 deletions packages/astro/test/ssr-prerender.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
})
});
});

0 comments on commit 3b1871a

Please sign in to comment.