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"
13 onWarningDismiss={[MockFunction]}
31 className="spacer-left nowrap note"
34 date="2017-01-02T00:00:00.000Z"
38 className="spacer-left nowrap note"
42 <withCurrentUserContext(HomePageSelect)
43 className="spacer-left"
46 "branch": "branch-6.7",
47 "component": "my-project",
56 exports[`should render correctly for a main project branch 1`] = `
59 className="display-flex-center flex-0 small"
62 className="header-meta-warnings"
65 componentKey="my-project"
66 onWarningDismiss={[MockFunction]}
84 className="spacer-left nowrap note"
87 date="2017-01-02T00:00:00.000Z"
91 className="spacer-left nowrap note"
95 <withCurrentUserContext(HomePageSelect)
96 className="spacer-left"
100 "component": "my-project",
109 exports[`should render correctly for a portfolio 1`] = `
112 className="display-flex-center flex-0 small"
115 className="header-meta-warnings"
117 <ComponentNavWarnings
119 onWarningDismiss={[MockFunction]}
123 "dismissable": false,
125 "message": "ERROR_1",
128 "dismissable": false,
130 "message": "ERROR_2",
136 <withCurrentUserContext(HomePageSelect)
137 className="spacer-left"
149 exports[`should render correctly for a pull request 1`] = `
152 className="display-flex-center flex-0 small"
155 className="header-meta-warnings"
157 <ComponentNavWarnings
158 componentKey="my-project"
159 onWarningDismiss={[MockFunction]}
163 "dismissable": false,
165 "message": "ERROR_1",
168 "dismissable": false,
170 "message": "ERROR_2",
177 className="spacer-left nowrap note"
180 date="2017-01-02T00:00:00.000Z"
185 className="navbar-context-meta-secondary display-inline-flex-center"
188 className="display-inline-flex-center big-spacer-right"
189 href="https://example.com/pull/1234"
190 rel="noopener noreferrer"
195 className="little-spacer-left"
199 <withBranchStatus(BranchStatus)
202 "analysisDate": "2018-01-01",
204 "branch": "feature/foo/bar",
207 "title": "Foo Bar feature",
208 "url": "https://example.com/pull/1234",
213 "analysisDate": "2017-01-02T00:00:00.000Z",
214 "breadcrumbs": Array [],
218 "qualityGate": Object {
223 "qualityProfiles": Array [