Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
VidhiRambhia committed Nov 23, 2023
1 parent e681296 commit fb83c64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/hooks_ordering.feature
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ Feature: hooks ordering
expect(counter++, "Expected beforeEach() to be called after before()").to.equal(1)
})
Before({ order: 2 }, function() {
expect(counter++, "Expected Before() to be called after beforeEach()").to.equal(3)
expect(counter++, "Expected Before() - order 2 to be called after Before () - order 1").to.equal(3)
})
Before({ order: 1 }, function() {
expect(counter++, "Expected Before() to be called after beforeEach()").to.equal(2)
expect(counter++, "Expected Before() - order 1 to be called after beforeEach()").to.equal(2)
})
Given("a background step", function() {
expect(counter++, "Expected a background step to be called after Before()").to.equal(4)
Expand Down

0 comments on commit fb83c64

Please sign in to comment.