Download spectrum/shared/clients/test/__snapshots__/messages.test.js.snap from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 725 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/shared/clients/test/__snapshots__/messages.test.js.snap
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/spectrum/shared/clients/test/__snapshots__/messages.test.js.snap
-
curl -L -o messages.test.js.snap https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/shared/clients/test/__snapshots__/messages.test.js.snap
725 Bytes
| // Jest Snapshot v1, https://goo.gl/fbAQLP | |
| exports[`should add a timestamp above the first message 1`] = ` | |
| Array [ | |
| Array [ | |
| Object { | |
| "author": Object { | |
| "user": Object { | |
| "id": "robo", | |
| }, | |
| }, | |
| "content": Object { | |
| "body": 2016-12-31T23:00:00.000Z, | |
| }, | |
| "id": 2016-12-31T23:00:00.000Z, | |
| "timestamp": 2016-12-31T23:00:00.000Z, | |
| "type": "timestamp", | |
| }, | |
| ], | |
| Array [ | |
| Object { | |
| "author": Object { | |
| "user": Object { | |
| "id": "asdf123", | |
| }, | |
| }, | |
| "content": Object { | |
| "body": "Hey", | |
| }, | |
| "id": "whatever", | |
| "messageType": "text", | |
| "timestamp": 2016-12-31T23:00:00.000Z, | |
| }, | |
| ], | |
| ] | |
| `; | |