<!here|@here> Quick poll regarding beforeEach:
Given the following code, what behaviour would you expect (please vote on what you’d expect to happen, not what actually happens):
given(“some context”) {
beforeEach {
doSomething()
}
on(“some action”) {
doSomeAction()
it(“should pass some test”) {
someAssertion()
}
}
}
1. beforeEach should execute for each it
2. beforeEach should execute for each on
Please vote using 👍 for 1 and 👎 for 2