Skip to content

Commit

Permalink
wip: undo "dist" change on edge tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Jun 16, 2022
1 parent 9688c60 commit 70e565e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 70e565e

Please sign in to comment.