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"
33 title="overview.project.last_analysis.date_time.2017-01-02T00:00:00.000Z"
35 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"
67 onWarningDismiss={[MockFunction]}
85 className="spacer-left nowrap note"
86 title="overview.project.last_analysis.date_time.2017-01-02T00:00:00.000Z"
88 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
120 onWarningDismiss={[MockFunction]}
124 "dismissable": false,
126 "message": "ERROR_1",
129 "dismissable": false,
131 "message": "ERROR_2",
137 <withCurrentUserContext(HomePageSelect)
138 className="spacer-left"
150 exports[`should render correctly for a pull request 1`] = `
153 className="display-flex-center flex-0 small"
156 className="header-meta-warnings"
158 <ComponentNavWarnings
159 componentKey="my-project"
161 onWarningDismiss={[MockFunction]}
165 "dismissable": false,
167 "message": "ERROR_1",
170 "dismissable": false,
172 "message": "ERROR_2",
179 className="spacer-left nowrap note"
180 title="overview.project.last_analysis.date_time.2017-01-02T00:00:00.000Z"
182 2017-01-02T00:00:00.000Z
186 className="navbar-context-meta-secondary display-inline-flex-center"
189 className="link-no-underline big-spacer-right"
192 to="https://example.com/pull/1234"
196 <withBranchStatus(BranchStatus)
199 "analysisDate": "2018-01-01",
201 "branch": "feature/foo/bar",
204 "title": "Foo Bar feature",
205 "url": "https://example.com/pull/1234",
210 "analysisDate": "2017-01-02T00:00:00.000Z",