Skip to content

Commit

Permalink
Fix typo in assertions documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear authored Oct 23, 2021
1 parent d9706b0 commit 9717f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/03-assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ In AVA 3, you cannot update snapshots while using `t.snapshot.skip()`.

`.try()` allows you to *try* assertions without causing the test to fail.

The implementation function behaves the same as any other test function. You can even use macros. The first title argument is always optional. Additional arguments are passed to the implemetation or macro function.
The implementation function behaves the same as any other test function. You can even use macros. The first title argument is always optional. Additional arguments are passed to the implementation or macro function.

`.try()` is an asynchronous function. You must `await` it. The result object has `commit()` and `discard()` methods. You must decide whether to commit or discard the result. If you commit a failed result, your test will fail.

Expand Down

0 comments on commit 9717f2b

Please sign in to comment.