wip: undo "dist" change on edge tests
This commit is contained in:
parent
9688c601e1
commit
70e565ef06
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue