diff options
Diffstat (limited to 'tests/specs/npm/lifecycle_scripts/__test__.jsonc')
| -rw-r--r-- | tests/specs/npm/lifecycle_scripts/__test__.jsonc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/specs/npm/lifecycle_scripts/__test__.jsonc b/tests/specs/npm/lifecycle_scripts/__test__.jsonc index fa60e7963..18a2d405e 100644 --- a/tests/specs/npm/lifecycle_scripts/__test__.jsonc +++ b/tests/specs/npm/lifecycle_scripts/__test__.jsonc @@ -55,6 +55,23 @@ } ] }, + "only_warns_first": { + "tempDir": true, + "steps": [ + { + // without running scripts (should warn) + "args": "run all_lifecycles.js", + "output": "only_warns_first1.out", + "exitCode": 1 + }, + { + // without running scripts (does not warn) + "args": "run all_lifecycles.js", + "output": "only_warns_first2.out", + "exitCode": 1 + } + ] + }, "future_install_lifecycle_scripts": { "tempDir": true, "envs": { |
