This is a simple todo app that demonstrates how test preview library is used.
This project uses yarn. To run the app:
yarn- to install dependenciesyarn run iosoryarn run android- In new terminal start the preview server with
yarn serverornpm run server - Run your tests with
yarn testornpm run test
By default the project will run the the app. To see previews of the tests, you have to:
- set
TEST_PREVIEW=truein the .env and restart the metro server. - run tests in the todo.spec.tsx file