
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@empathyco/x-jest-utils
Advanced tools
Jest extensions for easier testing.
npm install @empathyco/x-jest-utils --save-dev
To register the extended matchers, just import the package in your tests. The recommended way to do so is using the setupFilesAfterEnv option from your Jest config file.
// File jest.config.js
module.exports = {
setupFilesAfterEnv: ['./tests.setup.js'],
testMatch: ['<rootDir>/**/*.spec.js']
};
// File tests.setup.js
import '@empathyco/x-jest-utils';
If you want to find out all the matchers, check the src/jest-utils.types.ts file.
You can check if a new version has been published running npm outdated:
npm outdated @empathyco/x-jest-utils
And update it using npm update:
npm update --save @empathyco/x-jest-utils
FAQs
Jest extensions for easier testing
The npm package @empathyco/x-jest-utils receives a total of 203 weekly downloads. As such, @empathyco/x-jest-utils popularity was classified as not popular.
We found that @empathyco/x-jest-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.