Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

karma-time-stats-reporter

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-time-stats-reporter

Karma Reporter for test time stats

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15K
increased by12.47%
Maintainers
1
Weekly downloads
 
Created
Source

karma-time-stats-reporter

Use In Project

Install package:

npm install karma-time-stats-reporter --save-dev

in your karma config:

module.exports = function(config) {
  // other keys ommited for brevity
  config.set({
    reporters: ["dots", "time-stats"],
    // This is config options for the reporter. Listed here are the defaults if you don't provide this any options
    timeStatsReporter: {
      reportTimeStats: true,           // Print Time Stats (histogram)
      binSize: 100,                    // Bin size for histogram (in milliseconds)
      slowThreshold: 500,              // The threshold for what is considered a slow test (in milliseconds).
                                       // This is also the max value for last bin histogram 
      reportSlowestTests: true,        // Print top slowest tests
      longestTestsCount: 5,            // Number of top slowest tests to list
      reportOnlyBeyondThreshold: false // Only report tests that are slower than threshold
    }
  });
};

Keywords

FAQs

Package last updated on 19 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc