summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2022-01-31 20:32:49 +1100
committerGitHub <noreply@github.com>2022-01-31 20:32:49 +1100
commit68c8c66b0f0889657e48742aed05030c70e0a266 (patch)
tree159623288194f1e2ef9b27da25b0c5f20bd211f3 /cli/tests/testdata
parent49a0db0d2a2a697320ea95bacaca9bc61199c951 (diff)
fix(cli): handle extensionless imports better (#13548)
Fixes #13526
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/import_extensionless.ts3
-rw-r--r--cli/tests/testdata/import_extensionless.ts.out2
2 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/testdata/import_extensionless.ts b/cli/tests/testdata/import_extensionless.ts
new file mode 100644
index 000000000..689d553ff
--- /dev/null
+++ b/cli/tests/testdata/import_extensionless.ts
@@ -0,0 +1,3 @@
+import { printHello3 } from "http://localhost:4545/v1/extensionless";
+
+printHello3();
diff --git a/cli/tests/testdata/import_extensionless.ts.out b/cli/tests/testdata/import_extensionless.ts.out
new file mode 100644
index 000000000..699b756ed
--- /dev/null
+++ b/cli/tests/testdata/import_extensionless.ts.out
@@ -0,0 +1,2 @@
+[WILDCARD]
+Hello