|
Download react-hook-form/app/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 554 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-hook-form/app/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/react-hook-form/app/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-hook-form/app/README.md
554 Bytes
| # App for cypress automation | |
| ## What? | |
| This app is used by cypress for e2e testing purpose | |
| ## Why? | |
| We simply want to test each react-hook-form functionality in a separated environment. | |
| The current app folder is used for this purpose. | |
| ## How? | |
| Each react-hook-form functionality (ex. formState, reset, useFieldArray) that we want to test is rendered at specific route (see app.tsx) | |
| Cypress uses those routes for testing (you could navigate those routes for manual testing: http://localhost:3000/). | |
| ## How can be used: | |
| ``` | |
| 1. npm i && npm run dev | |
| ``` | |