JSPM

@dztools/jest-config-react

1.4.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q72627F
  • License MIT

Jest configuration for React + JavaScript templates.

Package Exports

  • @dztools/jest-config-react

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dztools/jest-config-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@dztools/jest-config-react

Jest configuration for React + JavaScript templates.

npm prettier license

Installation and Dependencies

To install the package:

[npm i -D || yarn add -D] @dztools/jest-config-react

If peer dependencies are needed, run the following:

[npm i -D || yarn add -D] @testing-library/react jest

Usage

In your local jest.config.js file:

module.exports = {
  preset: '@dztools/jest-config-react'
};

Notes

  • This package has been created with the needs of the React Scaffolder Yeoman generator in mind.
  • @testing-library/jest-dom/extend-expect is configured as part of this package.
  • All defaults are overridable.

License

MIT