diff options
Diffstat (limited to 'tests/specs')
-rw-r--r-- | tests/specs/npm/bin_entries_prefer_closer/__test__.jsonc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/specs/npm/bin_entries_prefer_closer/__test__.jsonc b/tests/specs/npm/bin_entries_prefer_closer/__test__.jsonc index 92d43e761..4e9c682df 100644 --- a/tests/specs/npm/bin_entries_prefer_closer/__test__.jsonc +++ b/tests/specs/npm/bin_entries_prefer_closer/__test__.jsonc @@ -18,6 +18,13 @@ { "args": "task run-no-ext", "output": "Task run-no-ext cli-no-ext hello world\n@denotest/bin 0.7.0\n" + }, + { + // even though we didn't put it in .bin, make sure the bin entry is marked executable + "if": "unix", + "commandName": "node_modules/.deno/@denotest+bin@1.0.0/node_modules/@denotest/bin/cli-cjs.js", + "args": "hello", + "output": "hello\n" } ] } |