diff --git a/packages/integrations/netlify/test/edge-functions/edge-basic.test.ts b/packages/integrations/netlify/test/edge-functions/edge-basic.test.ts index b0bc7dc88b2e..e7b7209004f4 100644 --- a/packages/integrations/netlify/test/edge-functions/edge-basic.test.ts +++ b/packages/integrations/netlify/test/edge-functions/edge-basic.test.ts @@ -8,7 +8,7 @@ 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/dist/edge-functions/entry.js'); const response = await handler(new Request('http://example.com/')); assertEquals(response.status, 200); const html = await response.text(); 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 7a9b83170510..34276362e9f6 100644 --- a/packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts +++ b/packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts @@ -9,7 +9,7 @@ Deno.test({ async fn() { let close = await runBuild('./fixtures/root-dynamic/'); const { default: handler } = await import( - './fixtures/root-dynamic/.netlify/edge-functions/entry.js' + './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');