From e61e81eb57351782862aa50775ce4348f10b1856 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Thu, 7 Jan 2021 18:06:08 +0000 Subject: feat: add --location= and globalThis.location (#7369) --- cli/tests/complex_permissions_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests/complex_permissions_test.ts') diff --git a/cli/tests/complex_permissions_test.ts b/cli/tests/complex_permissions_test.ts index fba761a2c..002d33540 100644 --- a/cli/tests/complex_permissions_test.ts +++ b/cli/tests/complex_permissions_test.ts @@ -10,8 +10,8 @@ const test: { [key: string]: (...args: any[]) => void | Promise } = { Deno.writeFileSync(file, new Uint8Array(0), { append: true }) ); }, - netFetch(hosts: string[]): void { - hosts.forEach((host) => fetch(host)); + netFetch(urls: string[]): void { + urls.forEach((url) => fetch(url)); }, netListen(endpoints: string[]): void { endpoints.forEach((endpoint) => { -- cgit v1.2.3