@muravjev/configs-jest-ts-react

0.1.2 • Public • Published

Shared jest configuration

The purpose of the jest is to test javascript.

This configuration targets lib react packages.


Contents

Setup

  • Add workspace reference to @muravjev/configs-jest-ts-react and its peers dependencies:

    pnpm add -w @muravjev/configs-jest-ts-react jest ts-jest jest-environment-jsdom @testing-library/react
  • Add jest configuration file

    // packages/bar/jest.config.js
    
    module.exports = require('@muravjev/configs-jest-ts-react');

Donation

If you found this project helpful, consider
buying me a coffee, donate by paypal or just leave a star
Thanks for your support, it is much appreciated!

License

MIT © Sergey Muravjev


Back


Package Sidebar

Install

npm i @muravjev/configs-jest-ts-react

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

3.15 kB

Total Files

5

Last publish

Collaborators

  • muravjev