summaryrefslogtreecommitdiff
path: root/packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2022-04-22 14:04:54 +0000
committerGravatar github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2022-04-22 14:04:54 +0000
commit738fb958c3befa2a473198410021067a38758b8b (patch)
treee409f65190f08f5611e96f604106f75c25b759d4 /packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts
parentbd76716c88c1ba19efeb7d798252f3ceed521920 (diff)
downloadastro-738fb958c3befa2a473198410021067a38758b8b.tar.gz
astro-738fb958c3befa2a473198410021067a38758b8b.tar.zst
astro-738fb958c3befa2a473198410021067a38758b8b.zip
[ci] format
Diffstat (limited to 'packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts')
-rw-r--r--packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts b/packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts
index c6504e188..34276362e 100644
--- a/packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts
+++ b/packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts
@@ -8,7 +8,9 @@ Deno.test({
name: 'Assets are preferred over HTML routes',
async fn() {
let close = await runBuild('./fixtures/root-dynamic/');
- const { default: handler } = await import('./fixtures/root-dynamic/dist/edge-functions/entry.js');
+ const { default: handler } = await import(
+ './fixtures/root-dynamic/dist/edge-functions/entry.js'
+ );
const response = await handler(new Request('http://example.com/styles.css'));
assertEquals(response, undefined, 'No response because this is an asset');
await close();