Skip to content

Melange bindings for testing-library (dom-testing-library and react-testing-library)

License

Notifications You must be signed in to change notification settings

melange-community/melange-testing-library

Repository files navigation

melange-testing-library

Melange bindings for testing-library (dom-testing-library and react-testing-library)

Initially forked from @wyze/bs-dom-testing-library and @wyze/bs-react-testing-library.

Install

Install opam package manager.

Then:

opam install melange-testing-library

The bindings support the following versions of the @testing-library/react and @testing-library/dom npm packages, which should be installed separately:

  "devDependencies": {
    "@testing-library/react": "^11.1.0",
    "@testing-library/dom": "^7.26.3",
  }

Setup

Add melange-testing-library.dom and melange-testing-library.react to the libraries in your dune file:

; ...
  (libraries melange-testing-library.dom melange-testing-library.react)
; ...

About

Melange bindings for testing-library (dom-testing-library and react-testing-library)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages