File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ You can find the most recent version of this guide [here](https://github.com/fac
32
32
- [ Writing Tests] ( #writing-tests )
33
33
- [ Testing Components] ( #testing-components )
34
34
- [ Using Third Party Assertion Libraries] ( #using-third-party-assertion-libraries )
35
+ - [ Focusing and Excluding Tests] ( #focusing-and-excluding-tests )
35
36
- [ Coverage Reporting] ( #coverage-reporting )
36
37
- [ Continuous Integration] ( #continuous-integration )
37
38
- [ Disabling jsdom] ( #disabling-jsdom )
@@ -670,6 +671,11 @@ import { expect } from 'chai';
670
671
671
672
and then use them in your tests like you normally do.
672
673
674
+ ### Focusing and Excluding Tests
675
+
676
+ You can replace `it()` with `xit()` to temporarily exclude a test from being executed.
677
+ Similarly, `fit()` lets you focus on a specific test without running any other tests.
678
+
673
679
### Coverage Reporting
674
680
675
681
Jest has an integrated coverage reporter that works well with ES6 and requires no configuration.
You can’t perform that action at this time.
0 commit comments