summaryrefslogtreecommitdiffstats
path: root/devtools/client/inspector/compatibility/test/node/components/__snapshots__/components-compatibility-NodePane.test.js.snap
blob: 2c2508703c49c4dd32ca299345469ecd57a8906e (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`NodePane component renders a node 1`] = `
<details
  className="compatibility-node-pane"
  open={true}
>
  <Localized
    $number={1}
    id="compatibility-issue-occurrences"
  >
    <summary
      className="compatibility-node-pane__summary"
    >
      compatibility-issue-occurrences
    </summary>
  </Localized>
  <NodeList
    nodes={
      Array [
        Object {
          "actorID": "test-actor",
          "attributes": Array [],
          "nodeName": "test-element",
          "nodeType": 1,
        },
      ]
    }
  />
</details>
`;

exports[`NodePane component renders some nodes 1`] = `
<details
  className="compatibility-node-pane"
  open={false}
>
  <Localized
    $number={2}
    id="compatibility-issue-occurrences"
  >
    <summary
      className="compatibility-node-pane__summary"
    >
      compatibility-issue-occurrences
    </summary>
  </Localized>
  <NodeList
    nodes={
      Array [
        Object {
          "actorID": "test-actor-1",
          "attributes": Array [],
          "nodeName": "test-element-1",
          "nodeType": 1,
        },
        Object {
          "actorID": "test-actor-2",
          "attributes": Array [],
          "nodeName": "test-element-2",
          "nodeType": 1,
        },
      ]
    }
  />
</details>
`;