[ci] format

This commit is contained in:
bholmesdev 2022-06-17 00:32:29 +00:00 committed by github-actions[bot]
parent fca58cfd91
commit 8ce5b824ab
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
import './edge-shim.js';
import type { SSRManifest } from 'astro';
import { App } from 'astro/app';
import './edge-shim.js';
export function createExports(manifest: SSRManifest) {
const app = new App(manifest);

View file

@ -10,7 +10,9 @@ Deno.test({
name: 'Edge Basics',
async fn() {
let close = await runBuild('./fixtures/edge-basic/');
const { default: handler } = await import('./fixtures/edge-basic/.netlify/edge-functions/entry.js');
const { default: handler } = await import(
'./fixtures/edge-basic/.netlify/edge-functions/entry.js'
);
const response = await handler(new Request('http://example.com/'));
assertEquals(response.status, 200);
const html = await response.text();