refactor: extract case run attempt into a method (#2175)
refactor: extract case run attempt into a method (#2175)

Co-authored-by: David Goss <aa743a0aaec8f7d7a1f01442503957f4d7a2d634@davidgoss.co>
cucumber/cucumber-js,cucumber/cucumber-js,cucumber/cucumber-js