Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@cloudscape-design/jest-preset
Advanced tools
## ⚠️ This is a generated artifact package and should be treated as **READ-ONLY**. Do not commit directly to this package!
This package contains Jest presets used to test an application based on the Cloudscape Design System React components.
Cloudscape is an open source design system for building intuitive, engaging, and inclusive web cloud experiences at scale. It consists of an extensive set of guidelines to create user experiences, along with the design resources and front-end components to streamline implementation.
Cloudscape was built for and is used by Amazon Web Services (AWS) products and services. We created it in 2016 to improve the user experience across AWS web applications, and also to help teams implement those applications faster. Since then, we have continued enhancing the system based on customer feedback and research.
You can find documentation about testing in the Cloudscape documentation website.
Browse the components repository of Cloudscape Design System.
You can create bug reports or feature requests, or start a discussion to ask a question. To minimize duplicates, we recommend that you search for existing bug reports, feature requests, or discussions before initiating a new thread.
Install this package with the npm package manager of your choice, for example npm install --save-dev @cloudscape-design/jest-preset
.
Make sure that you also have babel-jest
installed.
And package.json
along with its peer dependency babel-jest of the same version as the jest you are using:
"devDependencies": {
"@cloudscape-design/jest-preset": "^2.0.0",
"babel-jest": "{your jest version}"
}
In your jest.config.json
:
{
"preset": "@cloudscape-design/jest-preset"
}
If you are already have another preset in your configuration, you can merge them together:
const merge = require("merge");
const tsPreset = require("ts-jest/jest-preset");
const cloudscapePreset = require("@cloudscape-design/jest-preset");
module.exports = merge.recursive(tsPreset, cloudscapePreset, {
// ... your config
});
Note that if multiple presets provide transformIgnorePatterns
property, you need to merge it manually. By default,
merge operation extends the ignore paths, you need to make sure that @cloudscape-design/components
module remains
unignored.
It means that Jest preset could not apply the configuration properly.
transformIgnorePatterns
in your custom configuration. If you do, it needs to not ignore the @cloudscape-design/*
path.transform
property. It should merge the new paths in, not replace. Check the "Advanced usage" section above for an example.The contribution guidelines contains information on how to contribute, as well as our support model and versioning strategy.
This project is licensed under the Apache 2.0 License.
FAQs
This package contains [Jest presets](https://jestjs.io/docs/en/configuration#preset-string) used to test an application based on the [Cloudscape Design System](https://cloudscape.design/) React components.
The npm package @cloudscape-design/jest-preset receives a total of 3,338 weekly downloads. As such, @cloudscape-design/jest-preset popularity was classified as popular.
We found that @cloudscape-design/jest-preset demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.