Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@sprucelabs/jest-sheets-reporter
Advanced tools
Have your Jest tests update a Google Spreadsheet™®©. 📡
Readme
Update a Google Sheet when your tests pass or fail.
yarn add -D @sprucelabs/jest-sheets-reporter
npm install --dev @sprucelabs/jest-sheets-reporter
Inside your package.json
there is a jest
block.
Add the following configuration:
"jest": {
"reporters": [
"default",
[
"@sprucelabs/jest-sheets-reporter",
{
"sheetId": "{{spreadsheetId}}",
"worksheetId": 0,
"testMap": {
"testName": "destinationCell",
"getsGoodHealthCheckAndNothingElse": "C5",
"canGetLatestVersionBasedOnDir": "C16",
"canBuildSkill": "C24",
"canWatchAndBuild": "C25"
}
}
]
]
},
This simple reporter matches the name of your test against what is in your jest
config and updates the cell whose name matches.
If a test passes, the cell is set to 1.
If a test fails, the cell is set to 0.
You can change the look of a cell by using conditional formatting:
Then we set the background and the text color based on the value being exactly 1
or 0
.
FAQs
Have your Jest tests update a Google Spreadsheet™®©. 📡
The npm package @sprucelabs/jest-sheets-reporter receives a total of 2,500 weekly downloads. As such, @sprucelabs/jest-sheets-reporter popularity was classified as popular.
We found that @sprucelabs/jest-sheets-reporter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.