@fastcms/jest-preset
v4.1.0
Published
Shared jest preset for projects of @fastcms
Downloads
15
Maintainers
Readme
@fastcms/jest-preset
Shared jest preset for projects of @fastcms
Installation
Use npx to install peerdeps automatically or install peerDependencies and optionalDependencies with npm/yarn manually
# Install using npm
$ npm info "@fastcms/jest-preset" peerDependencies optionalDependencies
$ npx install-peerdeps --dev @fastcms/jest-preset
# Install using yarn
$ yarn add --dev @fastcms/jest-preset jest @swc/jest
Usage
After installation, create a javascript config file jest.config.js
to the project root.
module.exports = {
preset: '@fastcms',
};
Or add a jest key to your package.json
file.
{
"jest": {
"preset": "@fastcms"
}
}
License
The codebase and documentation in this repository are released under the MIT License