@fastcms/jest-preset

4.1.0 • Public • Published

@fastcms/jest-preset

Peer Jest Version

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

Package Sidebar

Install

npm i @fastcms/jest-preset

Weekly Downloads

0

Version

4.1.0

License

MIT

Unpacked Size

5.45 kB

Total Files

7

Last publish

Collaborators

  • shiaohoo