1.4.0 • Published 3 years ago

@dztools/jest-config-react v1.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

@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