summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-03-31 14:11:30 +0530
committerGitHub <noreply@github.com>2022-03-31 14:11:30 +0530
commitb0f974fbfd39db2d7c9d37d4c3ed3f21526d7ca3 (patch)
tree6efb0f69737993cfd0b7551e05a951162a73ede4 /cli/tests/testdata
parent1d24b2cf6335d18ccf8c9c9840fd466011f546c3 (diff)
fix(compile): follow redirects when resolving (#14161)
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/standalone_follow_redirects.ts2
-rw-r--r--cli/tests/testdata/standalone_follow_redirects_2.js5
2 files changed, 7 insertions, 0 deletions
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";