
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
@equisoft/jest-utils
Advanced tools
This package regroup utils to help write tests with Jest and create a standard config.
yarn add -DE @equisoft/jest-utils
Create your jest.config.js file and import the createJestConfig function. The createJestConfig uses a deep merge that allow you to extend from the base Equisoft's config.
// jest.config.js
const { createJestConfig } = require('@equisoft/jest-utils');
const { pathsToModuleNameMapper } = require('ts-jest');
const { compilerOptions } = require('./tsconfig.json');
const config = {
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths || [], { prefix: '<rootDir>/src/test' }),
roots: [
'<rootDir>/src/browser',
'<rootDir>/src/test',
],
setupFilesAfterEnv: [
'jest-extended',
'./src/test/setup-tests.ts',
],
collectCoverageFrom: ['<rootDir>/src/browser/**/*.{js,jsx,ts,tsx}'],
transform: {
'^.+.m?[t]sx?$': ['ts-jest', {
tsconfig: 'src/test/tsconfig.json',
babelConfig: {
presets: [
['@babel/preset-env', { targets: { node: 'current' } }],
'@babel/preset-react',
],
plugins: [
'@babel/plugin-transform-react-display-name',
['babel-plugin-styled-components', { fileName: false }],
],
},
},
],
},
};
module.exports = createJestConfig(config);
Jest has a built-in support for GitHub Actions annotations (see Jest documentation).
This feature is enabled by default when running on GitHub Actions.
To disable this feature, you can set the JEST_ENABLE_ANNOTATIONS environment variable to false when running Jest.
FAQs
Unknown package
The npm package @equisoft/jest-utils receives a total of 484 weekly downloads. As such, @equisoft/jest-utils popularity was classified as not popular.
We found that @equisoft/jest-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 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
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.