We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| 2 | | 3 | exports[Query.chats should fetch all chats 1] = | 4 | Object { | 5 | "chats": Array [ | 6 | Object { | 7 | "id": "1", | 8 | "lastMessage": Object { | 9 | "content": "You on your way?", | 10 | "createdAt": "2018-12-31T07:20:00.000Z", | 11 | "id": "1", | 12 | }, | 13 | "name": "Ethan Gonzalez", | 14 | "picture": "https://randomuser.me/api/portraits/thumb/men/1.jpg", | 15 | }, | 16 | Object { | 17 | "id": "2", | 18 | "lastMessage": Object { | 19 | "content": "Hey, it's me", | 20 | "createdAt": "2018-12-30T14:40:00.000Z", | 21 | "id": "2", | 22 | }, | 23 | "name": "Bryan Wallace", | 24 | "picture": "https://randomuser.me/api/portraits/thumb/men/2.jpg", | 25 | }, | 26 | Object { | 27 | "id": "3", | 28 | "lastMessage": Object { | 29 | "content": "I should buy a boat", | 30 | "createdAt": "2018-12-15T08:00:00.000Z", | 31 | "id": "3", | 32 | }, | 33 | "name": "Avery Stewart", | 34 | "picture": "https://randomuser.me/api/portraits/thumb/women/1.jpg", | 35 | }, | 36 | Object { | 37 | "id": "4", | 38 | "lastMessage": Object { | 39 | "content": "This is wicked good ice cream.", | 40 | "createdAt": "2018-05-12T16:00:00.000Z", | 41 | "id": "4", | 42 | }, | 43 | "name": "Katie Peterson", | 44 | "picture": "https://randomuser.me/api/portraits/thumb/women/2.jpg", | 45 | }, | 46 | ], | 47 | } | 48 |; 01647114040
Query.chats should fetch all chats 1
| 4 | Object { | 5 | "chats": Array [ | 6 | Object { | 7 | "id": "1", | 8 | "lastMessage": Object { | 9 | "content": "You on your way?", | 10 | "createdAt": "2018-12-31T07:20:00.000Z", | 11 | "id": "1", | 12 | }, | 13 | "name": "Ethan Gonzalez", | 14 | "picture": "https://randomuser.me/api/portraits/thumb/men/1.jpg", | 15 | }, | 16 | Object { | 17 | "id": "2", | 18 | "lastMessage": Object { | 19 | "content": "Hey, it's me", | 20 | "createdAt": "2018-12-30T14:40:00.000Z", | 21 | "id": "2", | 22 | }, | 23 | "name": "Bryan Wallace", | 24 | "picture": "https://randomuser.me/api/portraits/thumb/men/2.jpg", | 25 | }, | 26 | Object { | 27 | "id": "3", | 28 | "lastMessage": Object { | 29 | "content": "I should buy a boat", | 30 | "createdAt": "2018-12-15T08:00:00.000Z", | 31 | "id": "3", | 32 | }, | 33 | "name": "Avery Stewart", | 34 | "picture": "https://randomuser.me/api/portraits/thumb/women/1.jpg", | 35 | }, | 36 | Object { | 37 | "id": "4", | 38 | "lastMessage": Object { | 39 | "content": "This is wicked good ice cream.", | 40 | "createdAt": "2018-05-12T16:00:00.000Z", | 41 | "id": "4", | 42 | }, | 43 | "name": "Katie Peterson", | 44 | "picture": "https://randomuser.me/api/portraits/thumb/women/2.jpg", | 45 | }, | 46 | ], | 47 | } | 48 |
The text was updated successfully, but these errors were encountered:
No branches or pull requests
// Jest Snapshot v1, https://goo.gl/fbAQLP
| 2 |
| 3 | exports[
Query.chats should fetch all chats 1
] =| 4 | Object { | 5 | "chats": Array [ | 6 | Object { | 7 | "id": "1", | 8 | "lastMessage": Object { | 9 | "content": "You on your way?", | 10 | "createdAt": "2018-12-31T07:20:00.000Z", | 11 | "id": "1", | 12 | }, | 13 | "name": "Ethan Gonzalez", | 14 | "picture": "https://randomuser.me/api/portraits/thumb/men/1.jpg", | 15 | }, | 16 | Object { | 17 | "id": "2", | 18 | "lastMessage": Object { | 19 | "content": "Hey, it's me", | 20 | "createdAt": "2018-12-30T14:40:00.000Z", | 21 | "id": "2", | 22 | }, | 23 | "name": "Bryan Wallace", | 24 | "picture": "https://randomuser.me/api/portraits/thumb/men/2.jpg", | 25 | }, | 26 | Object { | 27 | "id": "3", | 28 | "lastMessage": Object { | 29 | "content": "I should buy a boat", | 30 | "createdAt": "2018-12-15T08:00:00.000Z", | 31 | "id": "3", | 32 | }, | 33 | "name": "Avery Stewart", | 34 | "picture": "https://randomuser.me/api/portraits/thumb/women/1.jpg", | 35 | }, | 36 | Object { | 37 | "id": "4", | 38 | "lastMessage": Object { | 39 | "content": "This is wicked good ice cream.", | 40 | "createdAt": "2018-05-12T16:00:00.000Z", | 41 | "id": "4", | 42 | }, | 43 | "name": "Katie Peterson", | 44 | "picture": "https://randomuser.me/api/portraits/thumb/women/2.jpg", | 45 | }, | 46 | ], | 47 | } | 48 |
; 01647114040The text was updated successfully, but these errors were encountered: