0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-04-07 23:41:43 -05:00

[ci] format

This commit is contained in:
bluwy 2023-08-01 14:55:54 +00:00 committed by astrobot-houston
parent 7e934478ee
commit 73bc65f03c
2 changed files with 7 additions and 3 deletions

View file

@ -8,7 +8,9 @@ import * as cheerio from 'cheerio';
*/
async function load() {
const mod = await import(`./fixtures/node-middleware/dist/server/entry.mjs?dropcache=${Date.now()}`);
const mod = await import(
`./fixtures/node-middleware/dist/server/entry.mjs?dropcache=${Date.now()}`
);
return mod;
}
@ -35,7 +37,7 @@ describe('behavior from middleware', () => {
await server.stop();
await fixture.clean();
delete process.env.PRERENDER;
})
});
describe('404', async () => {
it('when mode is standalone', async () => {

View file

@ -9,7 +9,9 @@ import { fetch } from 'undici';
*/
async function load() {
const mod = await import(`./fixtures/prerender-404/dist/server/entry.mjs?dropcache=${Date.now()}`);
const mod = await import(
`./fixtures/prerender-404/dist/server/entry.mjs?dropcache=${Date.now()}`
);
return mod;
}
describe('Prerender 404', () => {