vitest-cucumber-plugin icon indicating copy to clipboard operation
vitest-cucumber-plugin copied to clipboard

Add support for TypeScript and async steps

Open joakimbeng opened this issue 1 year ago • 8 comments

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.

joakimbeng avatar May 24 '23 09:05 joakimbeng