@availity/workflow-plugin-react

6.0.6 • Public • Published

@availity/workflow-plugin-react

Plugin for React based availity-workflow boilerplate projects

Testing Libraries

By default @testing-library/react and @testing-library/jest-dom/extend-expect are added to the project. Some of their scripts are also automatically added to the setUpFilesAfterEnv param for jest here.

  • @testing-library/react/cleanup-after-each - Will clean up the DOM after each test has ran.
  • @testing-library/jest-dom/extend-expect - Custom jest matchers that you can use to extend jest

If you want to override this you can create a file in the /app directory called jest.init.js and export whichever modules you want.

Example

module.exports = [
    '@testing-library/react/cleanup-after-each',
    '@testing-library/jest-dom/extend-expect'
]

More Info on Jest setUpFilesAfterEnv here

Readme

Keywords

Package Sidebar

Install

npm i @availity/workflow-plugin-react

Weekly Downloads

5

Version

6.0.6

License

MIT

Unpacked Size

82 kB

Total Files

16

Last publish

Collaborators

  • lauroxx
  • dznjudo
  • availity-cicd-bot
  • azeigler
  • dnoler
  • jselden
  • cbaker1
  • twarner
  • gregmartdotin
  • hnicbaker
  • chrishavekost
  • jordan-a-young