Download react-boilerplate/internals/generators/container/actions.test.js.hbs from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 357 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-boilerplate/internals/generators/container/actions.test.js.hbs
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/react-boilerplate/internals/generators/container/actions.test.js.hbs
-
curl -L -o actions.test.js.hbs https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-boilerplate/internals/generators/container/actions.test.js.hbs
357 Bytes
| import { defaultAction } from '../actions'; | |
| import { DEFAULT_ACTION } from '../constants'; | |
| describe('{{ properCase name }} actions', () => { | |
| describe('Default Action', () => { | |
| it('has a type of DEFAULT_ACTION', () => { | |
| const expected = { | |
| type: DEFAULT_ACTION, | |
| }; | |
| expect(defaultAction()).toEqual(expected); | |
| }); | |
| }); | |
| }); | |