Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
jest-tap-reporter
Advanced tools
yarn add --dev jest-tap-reporter
npm install --dev jest-tap-reporter
In package.json
file:
{
"jest": {
"reporters": [
"jest-tap-reporter"
]
}
}
You can add an optional configuration object:
{
"jest": {
"reporters": [
["jest-tap-reporter", {
"logLevel": "ERROR",
"showInternalStackTraces": true,
"filePath": "filename.tap"
}]
]
}
}
Options:
logLevel
- specifies the log level. By default jest-tap-reporter uses INFO
log level, which will log the suite path and a summary at the end of a test run. If you want to reduce the reporting to bare minimum you can set the logLevel
parameter to ERROR
. available log levels are: ERROR
, WARN
, INFO
.filePath
- specifies a file to write the results. If not supplied it will use process.stdout
.showHeader
- whether to show starting message on startup, defaults to true
.showInternalStackTraces
- shows stack traces from "internal" folders, like /node_modules
and /internal
, defaults to false
.showProgress
- whether to not show intermediate test result summary while testing is in progress. In general, defaults to true
. When writing to file or in CI environment, it is forced to be false
.You can write test results to a file with the following config:
{
"jest": {
"reporters": [
["jest-tap-reporter", {
"logLevel": "ERROR",
"filePath": "test.tap"
}]
],
}
}
MIT.
FAQs
Jest TAP reporter
The npm package jest-tap-reporter receives a total of 2,075 weekly downloads. As such, jest-tap-reporter popularity was classified as popular.
We found that jest-tap-reporter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.