@@ -97,7 +97,9 @@ describe('start', () => {
9797 expect ( startDeps . notifications . toasts . addWarning . mock . calls ) . toMatchInlineSnapshot ( `
9898 Array [
9999 Array [
100- "Your browser does not meet the security requirements for Kibana.",
100+ Object {
101+ "title": [Function],
102+ },
101103 ],
102104 ]
103105 ` ) ;
@@ -146,18 +148,18 @@ describe('start', () => {
146148 service . stop ( ) ;
147149
148150 await expect ( promise ) . resolves . toMatchInlineSnapshot ( `
149- Array [
150- Object {},
151- Object {
152- "logo": "big logo",
153- "smallLogo": "not so big logo",
154- },
155- Object {
156- "logo": "big logo without small logo",
157- "smallLogo": undefined,
158- },
159- ]
160- ` ) ;
151+ Array [
152+ Object {},
153+ Object {
154+ "logo": "big logo",
155+ "smallLogo": "not so big logo",
156+ },
157+ Object {
158+ "logo": "big logo without small logo",
159+ "smallLogo": undefined,
160+ },
161+ ]
162+ ` ) ;
161163 } ) ;
162164 } ) ;
163165
@@ -175,13 +177,13 @@ describe('start', () => {
175177 service . stop ( ) ;
176178
177179 await expect ( promise ) . resolves . toMatchInlineSnapshot ( `
178- Array [
179- false,
180- false,
181- false,
182- false,
183- ]
184- ` ) ;
180+ Array [
181+ false,
182+ false,
183+ false,
184+ false,
185+ ]
186+ ` ) ;
185187 } ) ;
186188
187189 it ( 'emits false until manually overridden when in embed mode' , async ( ) => {
@@ -203,13 +205,13 @@ describe('start', () => {
203205 service . stop ( ) ;
204206
205207 await expect ( promise ) . resolves . toMatchInlineSnapshot ( `
206- Array [
207- false,
208- false,
209- true,
210- false,
211- ]
212- ` ) ;
208+ Array [
209+ false,
210+ false,
211+ true,
212+ false,
213+ ]
214+ ` ) ;
213215 } ) ;
214216
215217 it ( 'application-specified visibility on mount' , async ( ) => {
@@ -230,13 +232,13 @@ describe('start', () => {
230232 service . stop ( ) ;
231233
232234 await expect ( promise ) . resolves . toMatchInlineSnapshot ( `
233- Array [
234- false,
235- true,
236- false,
237- true,
238- ]
239- ` ) ;
235+ Array [
236+ false,
237+ true,
238+ false,
239+ true,
240+ ]
241+ ` ) ;
240242 } ) ;
241243
242244 it ( 'changing visibility has no effect on chrome-hiding application' , async ( ) => {
@@ -253,12 +255,12 @@ describe('start', () => {
253255 service . stop ( ) ;
254256
255257 await expect ( promise ) . resolves . toMatchInlineSnapshot ( `
256- Array [
257- false,
258- false,
259- false,
260- ]
261- ` ) ;
258+ Array [
259+ false,
260+ false,
261+ false,
262+ ]
263+ ` ) ;
262264 } ) ;
263265 } ) ;
264266
@@ -280,36 +282,36 @@ describe('start', () => {
280282 service . stop ( ) ;
281283
282284 await expect ( promise ) . resolves . toMatchInlineSnapshot ( `
283- Array [
284- Array [],
285- Array [
286- "foo",
287- ],
288- Array [
289- "foo",
290- ],
291- Array [
292- "foo",
293- "bar",
294- ],
295- Array [
296- "foo",
297- "bar",
298- ],
299- Array [
300- "foo",
301- "bar",
302- "baz",
303- ],
304- Array [
305- "foo",
306- "baz",
307- ],
308- Array [
309- "baz",
310- ],
311- ]
312- ` ) ;
285+ Array [
286+ Array [],
287+ Array [
288+ "foo",
289+ ],
290+ Array [
291+ "foo",
292+ ],
293+ Array [
294+ "foo",
295+ "bar",
296+ ],
297+ Array [
298+ "foo",
299+ "bar",
300+ ],
301+ Array [
302+ "foo",
303+ "bar",
304+ "baz",
305+ ],
306+ Array [
307+ "foo",
308+ "baz",
309+ ],
310+ Array [
311+ "baz",
312+ ],
313+ ]
314+ ` ) ;
313315 } ) ;
314316 } ) ;
315317
@@ -327,19 +329,19 @@ describe('start', () => {
327329 service . stop ( ) ;
328330
329331 await expect ( promise ) . resolves . toMatchInlineSnapshot ( `
330- Array [
331- undefined,
332- Object {
333- "text": "foo",
334- "tooltip": "foo's tooltip",
335- },
336- Object {
337- "text": "bar",
338- "tooltip": "bar's tooltip",
339- },
340- undefined,
341- ]
342- ` ) ;
332+ Array [
333+ undefined,
334+ Object {
335+ "text": "foo",
336+ "tooltip": "foo's tooltip",
337+ },
338+ Object {
339+ "text": "bar",
340+ "tooltip": "bar's tooltip",
341+ },
342+ undefined,
343+ ]
344+ ` ) ;
343345 } ) ;
344346 } ) ;
345347
@@ -358,29 +360,29 @@ describe('start', () => {
358360 service . stop ( ) ;
359361
360362 await expect ( promise ) . resolves . toMatchInlineSnapshot ( `
361- Array [
362- Array [],
363- Array [
364- Object {
365- "text": "foo",
366- },
367- Object {
368- "text": "bar",
369- },
370- ],
371- Array [
372- Object {
373- "text": "foo",
374- },
375- ],
376- Array [
377- Object {
378- "text": "bar",
379- },
380- ],
381- Array [],
382- ]
383- ` ) ;
363+ Array [
364+ Array [],
365+ Array [
366+ Object {
367+ "text": "foo",
368+ },
369+ Object {
370+ "text": "bar",
371+ },
372+ ],
373+ Array [
374+ Object {
375+ "text": "foo",
376+ },
377+ ],
378+ Array [
379+ Object {
380+ "text": "bar",
381+ },
382+ ],
383+ Array [],
384+ ]
385+ ` ) ;
384386 } ) ;
385387 } ) ;
386388
0 commit comments