Jasmine 2.x-3.x Focused
This is similar to jasmine-focused except it works with Jasmine 2.x or 3.x
Adds global functions to run only certain Jasmine specs.
The number of
f characters in the method name denotes the priority of the
For example, a
fit spec would be run instead of any
it specs and a
ffit spec would be run instead of any
jasmine2-focused in devDependencies
npm install jasmine2-focused --save-dev
then require it
before your tests.
jasmine2-focused allows you to specify how many focused functions are provided by setting
globalJASMINE2_FOCUSED_HIGHEST_PRIORITY = 3 // 3 is the default;
By default the following function are provides that wrap the standard
describe Jasmine functions.