forked from mattermost/mattermost-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
delete_modal_trigger.test.jsx.snap
57 lines (55 loc) · 1.06 KB
/
delete_modal_trigger.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
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`components/DeleteModalTrigger should match snapshot 1`] = `
<span>
<button
className="color--link style--none"
onClick={[Function]}
>
<div>
trigger title
</div>
</button>
<ConfirmModal
confirmButtonClass="btn btn-primary"
confirmButtonText={
<button>
modal confirmation button
</button>
}
message={
<div>
modal message
</div>
}
modalClass=""
onCancel={[Function]}
onConfirm={[Function]}
onKeyDown={[Function]}
show={false}
title={
<div>
modal title
</div>
}
/>
</span>
`;
exports[`components/DeleteModalTrigger should match snapshot when showDeleteModal is set 1`] = `
<span>
<button
className="color--link style--none"
onClick={[Function]}
/>
<ConfirmModal
confirmButtonClass="btn btn-primary"
confirmButtonText=""
message=""
modalClass=""
onCancel={[Function]}
onConfirm={[Function]}
onKeyDown={[Function]}
show={true}
title=""
/>
</span>
`;