diff --git a/packages/integrations/netlify/test/edge-functions/dynamic-import.test.js b/packages/integrations/netlify/test/edge-functions/dynamic-import.test.js index 82961ab8b9..ff4adb490c 100644 --- a/packages/integrations/netlify/test/edge-functions/dynamic-import.test.js +++ b/packages/integrations/netlify/test/edge-functions/dynamic-import.test.js @@ -1,9 +1,6 @@ -// @ts-ignore import { runBuild, runApp } from './test-utils.ts'; -// @ts-ignore import { assertEquals, assert, DOMParser } from './deps.ts'; -// @ts-ignore Deno.test({ name: 'Dynamic imports', async fn() { 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 2e3ae4d5fe..ecdbda4e06 100644 --- a/packages/integrations/netlify/test/edge-functions/edge-basic.test.ts +++ b/packages/integrations/netlify/test/edge-functions/edge-basic.test.ts @@ -1,9 +1,6 @@ -// @ts-expect-error import { runBuild } from './test-utils.ts'; -// @ts-expect-error import { assertEquals, assert, DOMParser } from './deps.ts'; -// @ts-expect-error Deno.env.set('SECRET_STUFF', 'secret'); // @ts-expect-error diff --git a/packages/integrations/netlify/test/edge-functions/prerender.test.ts b/packages/integrations/netlify/test/edge-functions/prerender.test.ts index 1a272b1014..5d858ef730 100644 --- a/packages/integrations/netlify/test/edge-functions/prerender.test.ts +++ b/packages/integrations/netlify/test/edge-functions/prerender.test.ts @@ -1,9 +1,6 @@ -// @ts-expect-error import { runBuild } from './test-utils.ts'; -// @ts-expect-error import { assertEquals } from './deps.ts'; -// @ts-expect-error Deno.test({ name: 'Prerender', async fn() { 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 8e05b05de7..c853e2bfcf 100644 --- a/packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts +++ b/packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts @@ -1,9 +1,6 @@ -// @ts-expect-error import { runBuild } from './test-utils.ts'; -// @ts-expect-error import { assertEquals, assert, DOMParser } from './deps.ts'; -// @ts-expect-error Deno.test({ // TODO: debug why build cannot be found in "await import" ignore: true, diff --git a/packages/integrations/netlify/test/edge-functions/test-utils.ts b/packages/integrations/netlify/test/edge-functions/test-utils.ts index 7ba078a3a5..2025c45b3a 100644 --- a/packages/integrations/netlify/test/edge-functions/test-utils.ts +++ b/packages/integrations/netlify/test/edge-functions/test-utils.ts @@ -1,9 +1,7 @@ -// @ts-expect-error import { fromFileUrl, readableStreamFromReader } from './deps.ts'; const dir = new URL('./', import.meta.url); export async function runBuild(fixturePath: string) { - // @ts-expect-error let proc = Deno.run({ cmd: ['node', '../../../../../../astro/astro.js', 'build', '--silent'], cwd: fromFileUrl(new URL(fixturePath, dir)),