From b0f974fbfd39db2d7c9d37d4c3ed3f21526d7ca3 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Thu, 31 Mar 2022 14:11:30 +0530 Subject: fix(compile): follow redirects when resolving (#14161) --- cli/tests/testdata/standalone_follow_redirects.ts | 2 ++ cli/tests/testdata/standalone_follow_redirects_2.js | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 cli/tests/testdata/standalone_follow_redirects.ts create mode 100644 cli/tests/testdata/standalone_follow_redirects_2.js (limited to 'cli/tests/testdata') diff --git a/cli/tests/testdata/standalone_follow_redirects.ts b/cli/tests/testdata/standalone_follow_redirects.ts new file mode 100644 index 000000000..f0957bc3d --- /dev/null +++ b/cli/tests/testdata/standalone_follow_redirects.ts @@ -0,0 +1,2 @@ +import "./standalone_follow_redirects_2.js"; +console.log("Hello"); diff --git a/cli/tests/testdata/standalone_follow_redirects_2.js b/cli/tests/testdata/standalone_follow_redirects_2.js new file mode 100644 index 000000000..c0130ef5a --- /dev/null +++ b/cli/tests/testdata/standalone_follow_redirects_2.js @@ -0,0 +1,5 @@ +// unversioned import redirects with dependencies. +import { + assertNotEquals as _a, + assertStrictEquals as _b, +} from "https://deno.land/std/testing/asserts.ts"; -- cgit v1.2.3