Download spectrum/api/test/message/__snapshots__/queries.test.js.snap from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 745 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/api/test/message/__snapshots__/queries.test.js.snap
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/spectrum/api/test/message/__snapshots__/queries.test.js.snap
-
curl -L -o queries.test.js.snap https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/api/test/message/__snapshots__/queries.test.js.snap
745 Bytes
| // Jest Snapshot v1, https://goo.gl/fbAQLP | |
| exports[`sender should fetch a user 1`] = ` | |
| Object { | |
| "data": Object { | |
| "message": Object { | |
| "author": Object { | |
| "id": "1", | |
| "user": Object { | |
| "username": "mxstbr", | |
| }, | |
| }, | |
| }, | |
| }, | |
| } | |
| `; | |
| exports[`should fetch a message 1`] = ` | |
| Object { | |
| "data": Object { | |
| "message": Object { | |
| "content": Object { | |
| "body": "{\\"blocks\\":[{\\"key\\":\\"9u8bg\\",\\"text\\":\\"This is the first message!\\",\\"type\\":\\"unstyled\\",\\"depth\\":0,\\"inlineStyleRanges\\":[],\\"entityRanges\\":[],\\"data\\":{}}],\\"entityMap\\":{}}", | |
| }, | |
| "id": "1", | |
| "messageType": "draftjs", | |
| "timestamp": "2016-12-31T23:00:00.000Z", | |
| }, | |
| }, | |
| } | |
| `; | |