package melange-testing-library
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
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
Description
Published: 14 Dec 2025
README
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-libraryThe 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)
; ...
Dependencies (4)
- reason-react
-
melange
>= "5.0.0" - ocaml
-
dune
>= "3.8"
Dev Dependencies (5)
-
odoc
with-doc -
bisect_ppx
with-test & >= "2.5.0" -
melange-webapi
with-test -
opam-check-npm-deps
with-test -
melange-jest
with-test
Used by (2)
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page