summaryrefslogtreecommitdiffstats
path: root/devtools/client/shared/components/test/node/components/object-inspector/utils/__snapshots__/promises.test.js.snap
blob: 75903c0ff1db3657f1d849e76d16dd273ff1f2ed (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`promises utils function makeNodesForPromiseProperties 1`] = `
Array [
  Object {
    "contents": Object {
      "value": "rejected",
    },
    "meta": undefined,
    "name": "<state>",
    "parent": Object {
      "contents": Object {
        "value": Object {
          "actor": "server2.conn2.child1/obj36",
          "class": "Promise",
          "type": "object",
        },
      },
      "path": "root",
    },
    "path": "root◦<state>",
    "propertyName": undefined,
    "type": Symbol(<state>),
  },
  Object {
    "contents": Object {
      "front": null,
      "value": Object {
        "type": "3",
      },
    },
    "meta": undefined,
    "name": "<reason>",
    "parent": Object {
      "contents": Object {
        "value": Object {
          "actor": "server2.conn2.child1/obj36",
          "class": "Promise",
          "type": "object",
        },
      },
      "path": "root",
    },
    "path": "root◦<reason>",
    "propertyName": undefined,
    "type": Symbol(<reason>),
  },
]
`;