Skip to content

[Server Step 3.2] #98

@giasuddinazam

Description

@giasuddinazam

// 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 |; 01647114040

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions