summaryrefslogtreecommitdiff
path: root/cli/tests/import_data_url_imports.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-01-06 13:22:38 +1100
committerGitHub <noreply@github.com>2021-01-06 13:22:38 +1100
commit54240c22af6233d1d977d469868b0d9050cad6da (patch)
tree81af9892f8728852387fad9c2d243ab933de927f /cli/tests/import_data_url_imports.ts
parent60c9c857584bf5180dd0f7b937683dd9691aef84 (diff)
feat(cli): support data urls (#8866)
Closes: #5059 Co-authored-by: Valentin Anger <syrupthinker@gryphno.de>
Diffstat (limited to 'cli/tests/import_data_url_imports.ts')
-rw-r--r--cli/tests/import_data_url_imports.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/import_data_url_imports.ts b/cli/tests/import_data_url_imports.ts
new file mode 100644
index 000000000..f25c2c389
--- /dev/null
+++ b/cli/tests/import_data_url_imports.ts
@@ -0,0 +1,4 @@
+// export { printHello } from "http://localhost:4545/cli/tests/subdir/mod2.ts";
+import { printHello } from "data:application/typescript;base64,ZXhwb3J0IHsgcHJpbnRIZWxsbyB9IGZyb20gImh0dHA6Ly9sb2NhbGhvc3Q6NDU0NS9jbGkvdGVzdHMvc3ViZGlyL21vZDIudHMiOwo=";
+
+printHello();