summaryrefslogtreecommitdiffstats
path: root/devtools/client/application/test/node/components/manifest/__snapshots__/components_application_panel-ManifestPage.test.js.snap
blob: 4700ccf935a148a8fafc218cab96d64f05cef08a (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
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`ManifestPage renders the expected snapshot when the manifest is loading 1`] = `
<section
  className="app-page js-manifest-page app-page--empty"
>
  <Connect(ManifestLoader) />
</section>
`;

exports[`ManifestPage renders the expected snapshot when the manifest needs to load 1`] = `
<section
  className="app-page js-manifest-page app-page--empty"
>
  <Connect(ManifestLoader) />
</section>
`;

exports[`ManifestPage renders the expected snapshot when there is a manifest 1`] = `
<section
  className="app-page js-manifest-page "
>
  <Manifest
    icons={
      Array [
        Object {
          "key": Object {
            "contentType": "image/png",
            "sizes": "1x1",
          },
          "type": "icon",
          "value": Object {
            "purpose": "any",
            "src": "something.png",
          },
        },
      ]
    }
    identity={
      Array [
        Object {
          "key": "name",
          "type": "string",
          "value": "foo",
        },
      ]
    }
    presentation={
      Array [
        Object {
          "key": "lorem",
          "type": "string",
          "value": "ipsum",
        },
        Object {
          "key": "foo",
          "type": "string",
          "value": "bar",
        },
      ]
    }
    validation={
      Array [
        Object {
          "level": "warning",
          "message": "This is a warning",
        },
      ]
    }
  />
</section>
`;

exports[`ManifestPage renders the expected snapshot when there is no manifest 1`] = `
<section
  className="app-page js-manifest-page app-page--empty"
>
  <ManifestEmpty />
</section>
`;