🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

mocha-custom-stack-trace-reporter

Package Overview
Dependencies
Maintainers
6
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha-custom-stack-trace-reporter

Expand Mocha error reports with custom stack traces

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
0
Maintainers
6
Weekly downloads
 
Created
Source

mocha-custom-stack-trace-reporter

This library can be used as a mocha plug-in to report custom stack traces for errors. If the error object that escapes from a test has a 'stackTrace()' function, then this function is called to retrieve the stack trace and report it. It also handles unhandled promise rejections and reports them along with the stack trace.

FAQs

Package last updated on 24 Apr 2021

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