jasmine-slow-reporter
v0.1.0
Published
Reporter for Jasmine to report on slow specs.
Downloads
185
Maintainers
Readme
Jasmine Slow Reporter
Reporter for Jasmine to report on slow specs.
Install
Get it from npm.
npm i jasmine-slow-reporter --save-dev
Add to jasmine
var jasmineSlowReporter = require('jasmine-slow-reporter');
jasmineSlowReporter.threshold = 500; // It is 100ms by default.
jasmine.getEnv().addReporter(jasmineSlowReporter );
Usage
Just continue testing like any other fun day at the office and when you make a slow spec you should see this after all the test have run.
Slow spec: "Spec full name"
Duration 500ms
License
ISC