
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
@sprucelabs/jest-sheets-reporter
Advanced tools
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 1,267 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
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.