Be the first user to complete this post
|
Add to List |
Run a single test in jasmine
From Jasmine 2.x onwards, you can run only a single describe or it block by using fdescribe
and fit
instead of describe
and it
.
This is great when you are building new features and don't want to run the entire test suite.
PROTIP: f
means focus
Also Read:
- Automated testing of webcam / video feeds in webRTC application
- How to return a value from a jasmine spy
- Testing promise sequence using mocha, chai, chai-as-promised, sinon