Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@guidecx/config-jest
Advanced tools
The configuration files for Jest used in GuideCX applications
GCX Jest Config
This module contains the configuration files for Jest that are used by all GuideCX applications.
As with many of our other packages, you'll need to make sure you have the proper devDependencies
installed for this library to have any effect. For this package you'll need:
jest
jest-transform-graphql
babel-jest
jest-environment-jsdom-fifteen
jest-watch-typeahead
Some of the config options require special packages, other than the packages previously mentioned. If not using these packages, such as those related to graphql, override the relevant properties on the config options object. For example:
import type { Config } from '@jest/types';
const config: Config.InitialOptions = {
...require('../config-jest'),
setupFiles: [],
setupFilesAfterEnv: [],
transform: {
'\\.[jt]sx?$': 'babel-jest',
'^.+\\.(ts|tsx)$': 'ts-jest',
},
};
export default config;
We have 2 variant files that are exposed to other applications; express
and react
. Depending on
the type of application you're importing configurations too, you can do the following in your
jest.config.js
file:
module.exports = {
...require('@guidecx/config-jest/react'),
// overwrite config options as-needed
};
Once this is complete, verify that you have the following configuration options in your
package.json
:
"scripts": {
"test": "jest"
}
FAQs
The configuration files for Jest used in GuideCX applications
We found that @guidecx/config-jest demonstrated a not healthy version release cadence and project activity because the last version was released 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.