Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
jest-teamcity-reporter
Advanced tools
Integrate Jest test results into your Teamcity CI builds
This package will report your JavaScript Jest test results to your Teamcity CI server, so you can see the number of executed tests, test failures and the tests tab right from your Teamcity UI.
★★★ Like this project? Leave a star, follow on Twitter or donate to support my work! Thanks. ★★★
First, install the package from NPM: npm install --save-dev jest-teamcity-reporter
The reporter integrates with Jest in form of a testResultsProcessor. Put this into your projects package.json
:
"jest": {
"testResultsProcessor": "jest-teamcity-reporter"
}
The reporter is only active when the environment variable TEAMCITY_VERSION
is present which should be the case for most common Teamcity server installations. So on your local machine the reporter should be disabled by default. You can test the reporter by temporarily setting the environment variable:
export TEAMCITY_VERSION="your_version"
Then, just use Jest as usual, e.g. put this in your package.json
"scripts": {
"test": "jest"
}
Then, simply run npm test
locally and from Teamcity.
Versions < 0.5.0 also supported activation via cli option
--teamcity
but Jest no longer supports custom options, so this option is no longer available.
MIT © Benjamin Winterberg
FAQs
Teamcity Reporter for Jest Test Results
The npm package jest-teamcity-reporter receives a total of 56,372 weekly downloads. As such, jest-teamcity-reporter popularity was classified as popular.
We found that jest-teamcity-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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.