summaryrefslogtreecommitdiffstats
path: root/devtools/client/inspector/compatibility/test/node/components/__snapshots__/components-compatibility-CompatibilityApp.test.js.snap
blob: 64839057c70cd2dd906526ad2cb4aecf841d73c2 (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`CompatibilityApp component renders with settings 1`] = `
<section
  className="compatibility-app theme-sidebar inspector-tabpanel"
>
  <div
    className="compatibility-app__container compatibility-app__container-hidden"
  >
    <Accordion
      className="compatibility-app__main"
      items={
        Array [
          Object {
            "component": <IssuePane
              issues={Array []}
            />,
            "header": "compatibility-selected-element-header",
            "id": "compatibility-app--selected-element-pane",
            "opened": true,
          },
          Object {
            "component": Array [
              <IssuePane
                dispatch={[Function]}
                issues={Array []}
              />,
              null,
            ],
            "header": "compatibility-all-elements-header",
            "id": "compatibility-app--all-elements-pane",
            "opened": true,
          },
        ]
      }
    />
    <Connect(Footer)
      className="compatibility-app__footer"
    />
  </div>
  <Connect(Settings) />
</section>
`;

exports[`CompatibilityApp component renders zero issues 1`] = `
<section
  className="compatibility-app theme-sidebar inspector-tabpanel"
>
  <div
    className="compatibility-app__container"
  >
    <Accordion
      className="compatibility-app__main"
      items={
        Array [
          Object {
            "component": <IssuePane
              issues={Array []}
            />,
            "header": "compatibility-selected-element-header",
            "id": "compatibility-app--selected-element-pane",
            "opened": true,
          },
          Object {
            "component": Array [
              <IssuePane
                dispatch={[Function]}
                issues={Array []}
              />,
              null,
            ],
            "header": "compatibility-all-elements-header",
            "id": "compatibility-app--all-elements-pane",
            "opened": true,
          },
        ]
      }
    />
    <Connect(Footer)
      className="compatibility-app__footer"
    />
  </div>
</section>
`;