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:
Matthew Phillips 2024-06-11 13:33:05 +00:00 committed by astrobot-houston
parent 24ce8983e1
commit ebe01c7aff

View file

@ -31,7 +31,10 @@ describe('Vercel edge middleware', () => {
});
it('edge sets Set-Cookie headers', async () => {
let entry = new URL('../.vercel/output/functions/_middleware.func/middleware.mjs', build.config.outDir);
let entry = new URL(
'../.vercel/output/functions/_middleware.func/middleware.mjs',
build.config.outDir
);
const module = await import(entry);
const request = new Request('http://example.com/foo');
const response = await module.default(request, {});