summaryrefslogtreecommitdiff
path: root/packages/integrations/netlify/test/edge-functions/test-utils.ts
diff options
context:
space:
mode:
authorGravatar Emanuele Stoppa <my.burning@gmail.com> 2023-03-07 13:41:24 +0000
committerGravatar GitHub <noreply@github.com> 2023-03-07 13:41:24 +0000
commitfe88f89512d583e651f114fe010a35b33bae1910 (patch)
treeab4bec484b1b3c6de9169cb3c13e1273f933bfbb /packages/integrations/netlify/test/edge-functions/test-utils.ts
parente1858e633484d0e1eca0e3ad72af679fc12271e0 (diff)
downloadastro-fe88f89512d583e651f114fe010a35b33bae1910.tar.gz
astro-fe88f89512d583e651f114fe010a35b33bae1910.tar.zst
astro-fe88f89512d583e651f114fe010a35b33bae1910.zip
chore: use directive `@ts-expect-error` instead of `@ts-ignore` (#6429)
Diffstat (limited to 'packages/integrations/netlify/test/edge-functions/test-utils.ts')
-rw-r--r--packages/integrations/netlify/test/edge-functions/test-utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/netlify/test/edge-functions/test-utils.ts b/packages/integrations/netlify/test/edge-functions/test-utils.ts
index 7c2400d93..7ba078a3a 100644
--- a/packages/integrations/netlify/test/edge-functions/test-utils.ts
+++ b/packages/integrations/netlify/test/edge-functions/test-utils.ts
@@ -1,9 +1,9 @@
-// @ts-ignore
+// @ts-expect-error
import { fromFileUrl, readableStreamFromReader } from './deps.ts';
const dir = new URL('./', import.meta.url);
export async function runBuild(fixturePath: string) {
- // @ts-ignore
+ // @ts-expect-error
let proc = Deno.run({
cmd: ['node', '../../../../../../astro/astro.js', 'build', '--silent'],
cwd: fromFileUrl(new URL(fixturePath, dir)),