]> source.dussan.org Git - sonarqube.git/blob
8047eda1371a79a6232c2c4008f5e7489f06c0a8
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should match snapshot: dangerous link, collapsed 1`] = `
4 <li>
5   <a
6     className="link-no-underline"
7     onClick={[Function]}
8     rel="nofollow noreferrer noopener"
9     target="_blank"
10     title="Dangerous"
11   >
12     <ProjectLinkIcon
13       className="little-spacer-right"
14       type="dangerous"
15     />
16     Dangerous
17   </a>
18 </li>
19 `;
20
21 exports[`should match snapshot: dangerous link, expanded 1`] = `
22 <li>
23   <a
24     className="link-no-underline"
25     onClick={[Function]}
26     rel="nofollow noreferrer noopener"
27     target="_blank"
28     title="Dangerous"
29   >
30     <ProjectLinkIcon
31       className="little-spacer-right"
32       type="dangerous"
33     />
34     Dangerous
35   </a>
36   <div
37     className="little-spacer-top display-flex-center"
38   >
39     <input
40       className="overview-key width-80"
41       onClick={[Function]}
42       readOnly={true}
43       type="text"
44       value="javascript:alert("hi")"
45     />
46     <ClearButton
47       className="little-spacer-left"
48       onClick={[Function]}
49     />
50   </div>
51 </li>
52 `;
53
54 exports[`should match snapshot: default 1`] = `
55 <li>
56   <a
57     className="link-no-underline"
58     href="http://example.com"
59     rel="nofollow noreferrer noopener"
60     target="_blank"
61     title="Foo"
62   >
63     <ProjectLinkIcon
64       className="little-spacer-right"
65       type="foo"
66     />
67     Foo
68   </a>
69 </li>
70 `;
71
72 exports[`should match snapshot: icon only 1`] = `
73 <li>
74   <a
75     className="link-no-underline"
76     href="http://example.com"
77     rel="nofollow noreferrer noopener"
78     target="_blank"
79     title="Foo"
80   >
81     <ProjectLinkIcon
82       className="little-spacer-right"
83       type="foo"
84     />
85   </a>
86 </li>
87 `;