1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly for a branch 1`] = `
6 className="display-flex-center flex-0 small"
9 className="header-meta-warnings"
12 componentKey="my-project"
14 onWarningDismiss={[MockFunction]}
32 className="spacer-left nowrap note"
35 date="2017-01-02T00:00:00.000Z"
39 className="spacer-left nowrap note"
43 <withCurrentUserContext(HomePageSelect)
44 className="spacer-left"
47 "branch": "branch-6.7",
48 "component": "my-project",
57 exports[`should render correctly for a main project branch 1`] = `
60 className="display-flex-center flex-0 small"
63 className="header-meta-warnings"
66 componentKey="my-project"
68 onWarningDismiss={[MockFunction]}
86 className="spacer-left nowrap note"
89 date="2017-01-02T00:00:00.000Z"
93 className="spacer-left nowrap note"
97 <withCurrentUserContext(HomePageSelect)
98 className="spacer-left"
102 "component": "my-project",
111 exports[`should render correctly for a portfolio 1`] = `
114 className="display-flex-center flex-0 small"
117 className="header-meta-warnings"
119 <ComponentNavWarnings
122 onWarningDismiss={[MockFunction]}
126 "dismissable": false,
128 "message": "ERROR_1",
131 "dismissable": false,
133 "message": "ERROR_2",
139 <withCurrentUserContext(HomePageSelect)
140 className="spacer-left"
152 exports[`should render correctly for a pull request 1`] = `
155 className="display-flex-center flex-0 small"
158 className="header-meta-warnings"
160 <ComponentNavWarnings
161 componentKey="my-project"
163 onWarningDismiss={[MockFunction]}
167 "dismissable": false,
169 "message": "ERROR_1",
172 "dismissable": false,
174 "message": "ERROR_2",
181 className="spacer-left nowrap note"
184 date="2017-01-02T00:00:00.000Z"
189 className="navbar-context-meta-secondary display-inline-flex-center"
192 className="display-inline-flex-center big-spacer-right"
193 href="https://example.com/pull/1234"
194 rel="noopener noreferrer"
199 className="little-spacer-left"
203 <withBranchStatus(BranchStatus)
206 "analysisDate": "2018-01-01",
208 "branch": "feature/foo/bar",
211 "title": "Foo Bar feature",
212 "url": "https://example.com/pull/1234",
217 "analysisDate": "2017-01-02T00:00:00.000Z",
218 "breadcrumbs": Array [],
222 "qualityGate": Object {
227 "qualityProfiles": Array [