You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/03-assertions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ test('unicorns are truthy', t => {
21
21
22
22
If multiple assertion failures are encountered within a single test, AVA will only display the *first* one.
23
23
24
-
Assertions return a boolean indicating whether they passed. You can use this to return early from a test. Note that this does not apply to the "throws" assertions.
24
+
Assertions return a boolean indicating whether they passed. You can use this to return early from a test. Note that this does not apply to the "throws" and `snapshot()`assertions.
25
25
26
26
## Assertion planning
27
27
@@ -337,7 +337,7 @@ Compares the `expected` value with a previously recorded snapshot. Snapshots are
337
337
338
338
AVA 3 supports an `options` object that lets you select a specific snapshot, for instance `{id: 'my snapshot'}`. This is buggy and will be removed in AVA 4.
339
339
340
-
Snapshot assertions cannot be skipped when snapshots are being updated. Returns a boolean indicating whether the assertion passed.
340
+
Snapshot assertions cannot be skipped when snapshots are being updated.
0 commit comments