We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7d7721 commit 05b07e3Copy full SHA for 05b07e3
src/runner.sh
@@ -213,8 +213,11 @@ function runner::run_test() {
213
exec 3>&1
214
215
local test_execution_result=$(
216
+ # shellcheck disable=SC2154
217
trap '
- state::set_test_exit_code $?
218
+ exit_code=$?
219
+ set +e
220
+ state::set_test_exit_code "$exit_code"
221
runner::run_tear_down
222
runner::clear_mocks
223
state::export_subshell_context
0 commit comments