BuckleScript bindings for react-testing-library.
npm install bs-react-testing-library> BuckleScript bindings for react-testing-library.
``sh
$ yarn add --dev bs-react-testing-library
$ npm install --save-dev bs-react-testing-library
`
#### Add to bsconfig.json
`json`
{
"bs-dev-dependencies": [
"bs-react-testing-library"
]
}
#### With bs-jest
`ocaml
/ Component_test.re /
open Jest;
open Expect;
open ReactTestingLibrary;
test("Component renders", () =>
Examples
src/__tests__ for some examples.Development
`sh
$ git clone https://github.com/wyze/bs-react-testing-library.git
$ cd bs-react-testing-library
$ yarn # or npm install
`Build
`sh
$ yarn build
`Test
`sh
$ yarn test
``* Upgrade to latest dependencies (@wyze in #27)
* Add sponsor button (@wyze in c69f028)
MIT © Neil Kistner
[actions-image]: https://img.shields.io/github/workflow/status/wyze/bs-react-testing-library/CI.svg?style=flat-square
[actions-url]: https://github.com/wyze/bs-react-testing-library/actions
[npm-image]: https://img.shields.io/npm/v/bs-react-testing-library.svg?style=flat-square
[npm-url]: https://npm.im/bs-react-testing-library
[codecov-image]: https://img.shields.io/codecov/c/github/wyze/bs-react-testing-library.svg?style=flat-square
[codecov-url]: https://codecov.io/github/wyze/bs-react-testing-library