]> source.dussan.org Git - sonarqube.git/blob
385012e7de0a4e867c1208496a86b89f232fee4d
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should not render breadcrumbs with one element 1`] = `
4 <h2
5   className="navbar-context-title"
6 >
7   <OrganizationHelmet
8     organization={null}
9     title="My Project"
10   />
11   <span>
12     <span
13       className="navbar-context-title-qualifier little-spacer-right"
14     >
15       <QualifierIcon
16         qualifier="TRK"
17       />
18     </span>
19     <Link
20       className="link-base-color"
21       onlyActiveOnIndex={false}
22       style={Object {}}
23       title="My Project"
24       to={
25         Object {
26           "pathname": "/dashboard",
27           "query": Object {
28             "id": "my-project",
29           },
30         }
31       }
32     >
33       <strong>
34         My Project
35       </strong>
36     </Link>
37   </span>
38 </h2>
39 `;
40
41 exports[`should render organization 1`] = `
42 <h2
43   className="navbar-context-title"
44 >
45   <OrganizationHelmet
46     organization={
47       Object {
48         "key": "foo",
49         "name": "The Foo Organization",
50       }
51     }
52     title="My Project"
53   />
54   <span>
55     <span
56       className="navbar-context-title-qualifier little-spacer-right"
57     >
58       <QualifierIcon
59         qualifier="TRK"
60       />
61     </span>
62     <OrganizationLink
63       className="link-base-color"
64       organization={
65         Object {
66           "key": "foo",
67           "name": "The Foo Organization",
68         }
69       }
70     >
71       The Foo Organization
72     </OrganizationLink>
73     <span
74       className="slash-separator"
75     />
76   </span>
77   <span>
78     <Link
79       className="link-base-color"
80       onlyActiveOnIndex={false}
81       style={Object {}}
82       title="My Project"
83       to={
84         Object {
85           "pathname": "/dashboard",
86           "query": Object {
87             "id": "my-project",
88           },
89         }
90       }
91     >
92       <strong>
93         My Project
94       </strong>
95     </Link>
96   </span>
97 </h2>
98 `;