
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@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 51 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.