hirezio / given

A monorepo for jasmine / jest addons that help you clean up your microtests by breaking them into a Given / When / Then structure.
MIT License
21 stars 4 forks source link

Q: Given AND When Then? #8

Closed whernebrink closed 2 years ago

whernebrink commented 2 years ago

Just a question. I could have bet I saw somewhere, a coulple of months ago that there were a new version where one could do Given, And, When, Then? Did I dream that there were the And added? :)

shairez commented 2 years ago

I think the version of "given" by Justin Searls had an And function. But I decided not to implement it in this version.

At any cases, I suggest looking into - https://github.com/hirezio/single

It doesn't have an "and" function, but it's the future of single action tests IMO :)