Socket
Socket
Sign inDemoInstall

mocha-slow-reporter

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mocha-slow-reporter

Reports the slowest tests in the test-suite.


Version published
Weekly downloads
125
decreased by-22.84%
Maintainers
1
Install size
5.13 kB
Created
Weekly downloads
 

Readme

Source

Mocha Slow Reporter

Reports what tests are the slowest in your Mocha test-suite.

Screenshot:

33 ㎳	Whole Suite
23 ㎳	  Middleware/getClientInfo
7 ㎳	    "before all" hook
6 ㎳	    GET / (no auth)
6 ㎳	      "before all" hook
0 ㎳	      401 Unauthorized
0 ㎳	      Returns 'WWW-Authenticate: Basic ...'-header
4 ㎳	    GET / (auth: foo@one.com:bar)
4 ㎳	      "before all" hook
0 ㎳	      400 Bad Request
4 ㎳	    GET /?DeviceId=DeviceFoo (auth: foo@one.com:bar)
4 ㎳	      "before all" hook
0 ㎳	      200 OK
0 ㎳	      Has client details in body
2 ㎳	    GET / (auth: foo:bar)
2 ㎳	      "before all" hook
0 ㎳	      401 Unauthorized
0 ㎳	      Returns 'WWW-Authenticate: Basic ...'-header
10 ㎳	  Middleware/xmlBodyParser
3 ㎳	    Simple XML w. 'Content-Type: text/xml' is OK
3 ㎳	    Invalid XML w. 'Content-Type: text/xml' fails
2 ㎳	    "before all" hook
2 ㎳	    Empty body w/o Content-Type is OK

Installation

npm install mocha-slow-reporter

Use

mocha -R mocha-slow-reporter

License

BSD

Keywords

FAQs

Last updated on 05 Oct 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc