mirror of
https://github.com/withastro/astro.git
synced 2025-04-07 23:41:43 -05:00
[ci] format
This commit is contained in:
parent
7e934478ee
commit
73bc65f03c
2 changed files with 7 additions and 3 deletions
|
@ -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 () => {
|
||||
|
|
|
@ -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', () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue