Skip to content

Commit

Permalink
Docs: Remove redundant expression from verifySteps' description (quni…
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkni authored and step2yeung committed Mar 1, 2018
1 parent c2000f4 commit cf67890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/assert/verifySteps.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ A helper assertion to verify the order and number of steps in a test.

### Description

The `assert.verifySteps()` assertion compares a given array of string values (representing steps) and compares them with the order and values of previous `step()` calls. This assertion is helpful for verifying the order and count of portions of code paths, especially asynchronous ones.
The `assert.verifySteps()` assertion compares a given array of string values (representing steps) with the order and values of previous `step()` calls. This assertion is helpful for verifying the order and count of portions of code paths, especially asynchronous ones.

The list of steps to validate is reset when `assert.verifySteps([/* ...snip ... */])` is called. This allows multiple combinations of `assert.step` and `assert.verifySteps` within the same test.

Expand Down

0 comments on commit cf67890

Please sign in to comment.