mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -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 () => {
|
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 module = await import(entry);
|
||||||
const request = new Request('http://example.com/foo');
|
const request = new Request('http://example.com/foo');
|
||||||
const response = await module.default(request, {});
|
const response = await module.default(request, {});
|
||||||
|
|
Loading…
Add table
Reference in a new issue