@dztools/jest-config-react-typescript
v1.5.0
Published
Jest configuration for React + TypeScript templates.
Downloads
10
Maintainers
Readme
@dztools/jest-config-react-typescript
Jest configuration for React + TypeScript templates.
Installation and Dependencies
To install the package:
[npm i -D || yarn add -D] @dztools/jest-config-react-typescript
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-typescript'
};
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.