]> source.dussan.org Git - sonarqube.git/blob
c748dbfcf16e116f30783aaf23198792d115a659
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly if there are new features, and the user has not opted out 1`] = `
4 <Fragment>
5   <li
6     className="navbar-latest-notification"
7     onClick={[MockFunction]}
8   >
9     <div
10       className="navbar-latest-notification-wrapper"
11     >
12       <span
13         className="badge badge-info"
14       >
15         new
16       </span>
17       <span
18         className="label"
19       >
20         10 Java rules, Github checks, Security Hotspots, BitBucket branch decoration
21       </span>
22     </div>
23   </li>
24   <li
25     className="navbar-latest-notification-dismiss"
26   >
27     <a
28       className="navbar-icon"
29       href="#"
30       onClick={[Function]}
31     >
32       <ClearIcon
33         size={12}
34         thin={true}
35       />
36     </a>
37   </li>
38   <li>
39     <a
40       className="navbar-icon"
41       href="#"
42       onClick={[Function]}
43     >
44       <NotificationIcon
45         hasUnread={true}
46       />
47     </a>
48   </li>
49 </Fragment>
50 `;
51
52 exports[`should render correctly if there are new features, but the user has opted out 1`] = `
53 <Fragment>
54   <li>
55     <a
56       className="navbar-icon"
57       href="#"
58       onClick={[Function]}
59     >
60       <NotificationIcon
61         hasUnread={false}
62       />
63     </a>
64   </li>
65 </Fragment>
66 `;
67
68 exports[`should render correctly if there are no new unread features 1`] = `
69 <Fragment>
70   <li>
71     <a
72       className="navbar-icon"
73       href="#"
74       onClick={[Function]}
75     >
76       <NotificationIcon
77         hasUnread={false}
78       />
79     </a>
80   </li>
81 </Fragment>
82 `;