Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 991 Bytes

README.md

File metadata and controls

45 lines (27 loc) · 991 Bytes

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