File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ Feature: hooks ordering
4545 expect(counter++, "Expected beforeEach() to be called after before()").to.equal(1)
4646 })
4747 Before({ order: 2 }, function() {
48- expect(counter++, "Expected Before() to be called after beforeEach() ").to.equal(3)
48+ expect(counter++, "Expected Before() - order 2 to be called after Before () - order 1 ").to.equal(3)
4949 })
5050 Before({ order: 1 }, function() {
51- expect(counter++, "Expected Before() to be called after beforeEach()").to.equal(2)
51+ expect(counter++, "Expected Before() - order 1 to be called after beforeEach()").to.equal(2)
5252 })
5353 Given("a background step", function() {
5454 expect(counter++, "Expected a background step to be called after Before()").to.equal(4)
You can’t perform that action at this time.
0 commit comments