about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/__tests__/__snapshots__/avatar-test.js.snap
blob: 1ab59836ae7690ead245eb0b53f72d0e6f34795a (plain) (blame)
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
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`<Avatar /> Autoplay renders a animated avatar 1`] = `
<div
  className="account__avatar"
  onMouseEnter={[Function]}
  onMouseLeave={[Function]}
  style={
    Object {
      "backgroundImage": "url(/animated/alice.gif)",
      "backgroundSize": "100px 100px",
      "height": "100px",
      "width": "100px",
    }
  }
>
  <i
    className="fas fa-fw fa-robot bot-icon"
  />
</div>
`;

exports[`<Avatar /> Still renders a still avatar 1`] = `
<div
  className="account__avatar"
  onMouseEnter={[Function]}
  onMouseLeave={[Function]}
  style={
    Object {
      "backgroundImage": "url(/static/alice.jpg)",
      "backgroundSize": "100px 100px",
      "height": "100px",
      "width": "100px",
    }
  }
>
  <i
    className="fas fa-fw fa-robot bot-icon"
  />
</div>
`;