vitest-cucumber-plugin
vitest-cucumber-plugin copied to clipboard
Add support for TypeScript and async steps
Thanks for a nice package!
What I need to be able to use it in my project is TypeScript and async steps support, which this PR adds. (Fixes #1)
I also fixed an issue where returning nothing in a step (for instance in a Then
step) set the whole state to undefined
, which made subsequent Then
steps not get the state at all.