@dztools/jest-config-react-typescript

1.5.0 • Public • Published

@dztools/jest-config-react-typescript

Jest configuration for React + TypeScript templates.

npm prettier license

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.

License

MIT

/@dztools/jest-config-react-typescript/

    Package Sidebar

    Install

    npm i @dztools/jest-config-react-typescript

    Weekly Downloads

    0

    Version

    1.5.0

    License

    MIT

    Unpacked Size

    4.92 kB

    Total Files

    6

    Last publish

    Collaborators

    • dan.zervoudakes