mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
24ce8983e1
commit
ebe01c7aff
1 changed files with 4 additions and 1 deletions
|
@ -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, {});
|
||||
|
|
Loading…
Reference in a new issue