File size: 725 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// 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,
    },
  ],
]
`;