karma-time-stats-reporter
Description
A Karma Reporter for test times stats. See histogram of time your tests take, and identify slow tests.
Use In Project
Install package:
npm install karma-time-stats-reporter --save-dev
in your karma config:
module.exports = function(config) {
config.set({
reporters: ["dots", "time-stats"],
timeStatsReporter: {
reportTimeStats: true,
binSize: 100,
slowThreshold: 500,
reportSlowestTests: true,
showSlowTestRankNumber: false
longestTestsCount: 5,
reportOnlyBeyondThreshold: false
}
});
};