Skip to content

Try the lib @testing-library/react-native and @testing-library/jest-native

Notifications You must be signed in to change notification settings

developerantoniosousa/try-lib-testing-library-rn

Repository files navigation

Try the @testing-library for React Native

In this test I use the @testing-library/react-native and @testing-library/jest-native

Installation

$ git clone https://github.com/developerantoniosousa/try-lib-testing-library-rn
$ cd try-lib-testing-library-rn
$ yarn

Run the tests

$ yarn test

See the tests' code in __tests__ folder

You can generate the coverage about the project. For this run the command below:

$ yarn test --coverage

PS: when you do to test using the coverage, you can find the coverage folder in __tests__ folder.

you can find the configuration the Jest Framework for test in jest.config.js file.

About

Try the lib @testing-library/react-native and @testing-library/jest-native

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published