package melange-testing-library

  1. Overview
  2. Docs
On This Page
  1. Install
  2. Setup
Melange bindings for testing-library (dom-testing-library and react-testing-library)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-testing-library-0.2.0.tbz
sha256=20192de29aeef985630e79b18f232dd58cb524eabe4894b163dd0b62b57d594d
sha512=1126fdc8fa9b6ddba43d070ffa3ae124b833fb1dfd1cbd3d63c06bf167a07dfe8c7f5de9db68bc8589ab17e27a220feb49c2f95390cd292630e640aa1d0d38f0

doc/README.html

melange-testing-library

Melange bindings for testing-library (dom-testing-library and 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)
; ...