Each of your .spec.ts
file have all its tests grouped in describe
block like this:
describe('SomeComponent', () => {...}
You can easily run just this single block, by prefixing the describe
function name with f
:
fdescribe('SomeComponent', () => {...}
If you have such function, no other describe
blocks will run.
Btw. you can do similar thing with it
=> fit
and there is also a “blacklist” version – x
. So:
fdescribe
andfit
causes only functions marked this way to runxdescribe
andxit
causes all but functions marked this way to run