0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] format

This commit is contained in:
matthewp 2023-02-22 14:51:37 +00:00 committed by fredkbot
parent ccd72e6bb4
commit 3b1871a726
3 changed files with 5 additions and 6 deletions

View file

@ -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,
});
});

View file

@ -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,
};
}

View file

@ -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');
});
})
});
});