diff options
author | Cre3per <12541974+Cre3per@users.noreply.github.com> | 2023-03-22 15:15:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-22 10:15:53 -0400 |
commit | fd0658fb429e659b037cbf8b2a86459ce49cb3b3 (patch) | |
tree | 7ffa357ebfb18c5cd655677b5cc29c24089ddaa2 /cli/tests/integration/bundle_tests.rs | |
parent | 50b793c9ed866ee29e8f04b4fa24b485b01a2b74 (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/integration/bundle_tests.rs')
-rw-r--r-- | cli/tests/integration/bundle_tests.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/tests/integration/bundle_tests.rs b/cli/tests/integration/bundle_tests.rs index 08665091e..5a86a3bb9 100644 --- a/cli/tests/integration/bundle_tests.rs +++ b/cli/tests/integration/bundle_tests.rs @@ -466,6 +466,16 @@ itest!(check_local_by_default_type_error { exit_code: 1, }); +itest!(ts_without_extension { + args: "bundle --ext ts file_extensions/ts_without_extension", + output: "bundle/file_extensions/ts_without_extension.out", +}); + +itest!(js_without_extension { + args: "bundle --ext js file_extensions/js_without_extension", + output: "bundle/file_extensions/js_without_extension.out", +}); + itest!(bundle_shebang_file { args: "bundle subdir/shebang_file.js", output: "bundle/shebang_file.bundle.out", |