Skip Jest tests (js)
(, en)
You can skip tests in Jest easily by prefixing them with a x
.
- For single tests, use
xtest
(ortest.skip
) instead oftest
. - For describe use
xdescribe
(ordescribe.skip
) instead ofdescribe
.
You can skip tests in Jest easily by prefixing them with a x
.
xtest
(or test.skip
) instead of test
.xdescribe
(or describe.skip
) instead of describe
.