Download react-hook-form/src/__tests__/utils/noop.test.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 272 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-hook-form/src/__tests__/utils/noop.test.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/react-hook-form/src/__tests__/utils/noop.test.ts
-
curl -L -o noop.test.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-hook-form/src/__tests__/utils/noop.test.ts
272 Bytes
| import noop from '../../utils/noop'; | |
| describe('noop', () => { | |
| it('should be a function', () => { | |
| expect(noop instanceof Function).toBeTruthy(); | |
| }); | |
| it('should return undefined', () => { | |
| const result = noop(); | |
| expect(result).toBeUndefined(); | |
| }); | |
| }); | |