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