diff --git a/packages/astro/src/core/routing/default.ts b/packages/astro/src/core/routing/default.ts index 67cfbd97c68c..f617bd0dc153 100644 --- a/packages/astro/src/core/routing/default.ts +++ b/packages/astro/src/core/routing/default.ts @@ -30,15 +30,13 @@ export function createDefaultRoutes(manifest: SSRManifest): DefaultRouteParams[] return [ { instance: default404Instance, - matchesComponent: (filePath) => - filePath.href === new URL(DEFAULT_404_COMPONENT, root).href, + matchesComponent: (filePath) => filePath.href === new URL(DEFAULT_404_COMPONENT, root).href, route: DEFAULT_404_ROUTE.route, component: DEFAULT_404_COMPONENT, }, { instance: createServerIslandEndpoint(manifest), - matchesComponent: (filePath) => - filePath.href === new URL(SERVER_ISLAND_COMPONENT, root).href, + matchesComponent: (filePath) => filePath.href === new URL(SERVER_ISLAND_COMPONENT, root).href, route: SERVER_ISLAND_ROUTE, component: SERVER_ISLAND_COMPONENT, }, diff --git a/packages/astro/test/units/test-utils.js b/packages/astro/test/units/test-utils.js index 0ffae5b0b8a3..668e71574ecd 100644 --- a/packages/astro/test/units/test-utils.js +++ b/packages/astro/test/units/test-utils.js @@ -189,7 +189,7 @@ export function createBasicPipeline(options = {}) { const pipeline = new Pipeline( options.logger ?? defaultLogger, options.manifest ?? { - hrefRoot: import.meta.url + hrefRoot: import.meta.url, }, options.mode ?? 'development', options.renderers ?? [],