Download react-hook-form/cypress/e2e/setValueAsyncStrictMode.cy.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-hook-form/cypress/e2e/setValueAsyncStrictMode.cy.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/react-hook-form/cypress/e2e/setValueAsyncStrictMode.cy.ts
-
curl -L -o setValueAsyncStrictMode.cy.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-hook-form/cypress/e2e/setValueAsyncStrictMode.cy.ts
283 Bytes
| describe('form setValueAsyncStrictMode', () => { | |
| it('should set async input value correctly', () => { | |
| cy.visit('http://localhost:3000/setValueAsyncStrictMode'); | |
| cy.wait(100); | |
| cy.get('#submit').click(); | |
| cy.get('p').contains('["test","A","B","C","D"]'); | |
| }); | |
| }); | |