summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/bundle/file_extensions
diff options
context:
space:
mode:
authorCre3per <12541974+Cre3per@users.noreply.github.com>2023-03-22 15:15:53 +0100
committerGitHub <noreply@github.com>2023-03-22 10:15:53 -0400
commitfd0658fb429e659b037cbf8b2a86459ce49cb3b3 (patch)
tree7ffa357ebfb18c5cd655677b5cc29c24089ddaa2 /cli/tests/testdata/bundle/file_extensions
parent50b793c9ed866ee29e8f04b4fa24b485b01a2b74 (diff)
feat(cli): --ext parameter for run, compile, and bundle (#17172)
Adds `--ext` to `deno run`, closes #5088 Additionally - Adds `--ext` to `deno compile` and `deno bundle`
Diffstat (limited to 'cli/tests/testdata/bundle/file_extensions')
-rw-r--r--cli/tests/testdata/bundle/file_extensions/js_without_extension.out8
-rw-r--r--cli/tests/testdata/bundle/file_extensions/ts_without_extension.out7
2 files changed, 15 insertions, 0 deletions
diff --git a/cli/tests/testdata/bundle/file_extensions/js_without_extension.out b/cli/tests/testdata/bundle/file_extensions/js_without_extension.out
new file mode 100644
index 000000000..0273e6207
--- /dev/null
+++ b/cli/tests/testdata/bundle/file_extensions/js_without_extension.out
@@ -0,0 +1,8 @@
+[WILDCARD]
+// deno-fmt-ignore-file
+// deno-lint-ignore-file
+// This code was bundled using `deno bundle` and it's not recommended to edit it manually
+
+"hello";
+console.log("executing javascript with no extension");
+
diff --git a/cli/tests/testdata/bundle/file_extensions/ts_without_extension.out b/cli/tests/testdata/bundle/file_extensions/ts_without_extension.out
new file mode 100644
index 000000000..39e355d14
--- /dev/null
+++ b/cli/tests/testdata/bundle/file_extensions/ts_without_extension.out
@@ -0,0 +1,7 @@
+[WILDCARD]
+// deno-fmt-ignore-file
+// deno-lint-ignore-file
+// This code was bundled using `deno bundle` and it's not recommended to edit it manually
+
+console.log("executing typescript with no extension");
+