Not really a pull request. More a heads up that your code inspired me to do a simplistic and rather incomplete browser version of mocha-cakes.
One thing that might be interesting for you, though: I used the bail() method to make sure that scenario steps that come after a failed step will not run. It would be nicer to skip them but I didn't find a nice way to do that. Maybe that's a technique you want to use, too?
Not really a pull request. More a heads up that your code inspired me to do a simplistic and rather incomplete browser version of mocha-cakes.
One thing that might be interesting for you, though: I used the bail() method to make sure that scenario steps that come after a failed step will not run. It would be nicer to skip them but I didn't find a nice way to do that. Maybe that's a technique you want to use, too?