Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions testdriver/behavior/failure-exec-js.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 6.0.0
steps:
- prompt: fetch user data from API
commands:
- command: exec
output: user
lang: js
code: throw new Error("API fetch failed")
9 changes: 9 additions & 0 deletions testdriver/behavior/failure-exec-pwsh.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 6.0.0
steps:
- prompt: fetch user data from API
commands:
- command: exec
output: user
lang: pwsh
code: |
throw "An error occurred"
Loading