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: readme.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -566,6 +566,17 @@ Assert that `function` doesn't throw an `error` or `promise` resolves.
566
566
567
567
Assert that `error` is falsy.
568
568
569
+
## Skipping Assertions
570
+
571
+
Any assertion can be skipped using the `skip` modifier. Skipped assertions are still counted, so there is no need to change your planned assertion count.
572
+
573
+
```js
574
+
test(t=> {
575
+
t.plan(2);
576
+
t.skip.is(foo(), 5); // no need to change your plan count when skipping.
0 commit comments