forked from inspirehep/inspirehep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AuthorEmailsAction.test.jsx.snap
68 lines (66 loc) · 1.48 KB
/
AuthorEmailsAction.test.jsx.snap
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
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`AuthorEmailsAction renders multiple current emails in a dropdown 1`] = `
<ListItemAction>
<DropdownMenu
disabled={false}
title={
<Button
block={false}
ghost={false}
htmlType="button"
loading={false}
>
<Tooltip
arrowPointAtCenter={false}
autoAdjustOverflow={true}
mouseEnterDelay={0.1}
mouseLeaveDelay={0.1}
placement="top"
title="Contact author"
transitionName="zoom-big-fast"
>
<ForwardRef(MailOutlined) />
</Tooltip>
</Button>
}
>
<MenuItem
key="dude@email.cern"
>
<ExternalLink
href="mailto:dude@email.cern"
>
dude@email.cern
</ExternalLink>
</MenuItem>
<MenuItem
key="other-dude@email.cern"
>
<ExternalLink
href="mailto:other-dude@email.cern"
>
other-dude@email.cern
</ExternalLink>
</MenuItem>
</DropdownMenu>
</ListItemAction>
`;
exports[`AuthorEmailsAction renders single email 1`] = `
<ListItemAction>
<ExternalLink
href="mailto:dude@email.cern"
>
<Tooltip
arrowPointAtCenter={false}
autoAdjustOverflow={true}
mouseEnterDelay={0.1}
mouseLeaveDelay={0.1}
placement="top"
title="Contact author"
transitionName="zoom-big-fast"
>
<ForwardRef(MailOutlined) />
</Tooltip>
</ExternalLink>
</ListItemAction>
`;