File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
88Please see [ CONTRIBUTING.md] ( ./CONTRIBUTING.md ) on how to contribute to Cucumber.
99
1010## [ Unreleased]
11+ - Add error message for pending steps ([ #2392 ] ( https://github.com/cucumber/cucumber-js/pull/2393 ) )
1112
1213## [ 10.4.0] - 2024-04-07
1314### Added
Original file line number Diff line number Diff line change @@ -68,12 +68,15 @@ export async function run({
6868 } else if ( result === 'pending' ) {
6969 status = messages . TestStepResultStatus . PENDING
7070 } else if ( doesHaveValue ( error ) ) {
71- details = formatError ( error , filterStackTraces )
7271 status = messages . TestStepResultStatus . FAILED
7372 } else {
7473 status = messages . TestStepResultStatus . PASSED
7574 }
7675
76+ if ( doesHaveValue ( error ) ) {
77+ details = formatError ( error , filterStackTraces )
78+ }
79+
7780 return {
7881 duration,
7982 status,
You can’t perform that action at this time.
0 commit comments