fix(test): speculative attempt to fix trace viewer test flakiness (2)
This commit is contained in:
		
							parent
							
								
									ba93da0686
								
							
						
					
					
						commit
						c3c724f17d
					
				|  | @ -24,7 +24,7 @@ import '@web/common.css'; | ||||||
| (async () => { | (async () => { | ||||||
|   applyTheme(); |   applyTheme(); | ||||||
|   if (window.location.protocol !== 'file:') { |   if (window.location.protocol !== 'file:') { | ||||||
|     await new Promise(f => setTimeout(f, 100)); |     await new Promise(f => setTimeout(f, 500)); | ||||||
|     navigator.serviceWorker.register('sw.bundle.js'); |     navigator.serviceWorker.register('sw.bundle.js'); | ||||||
|     if (!navigator.serviceWorker.controller) { |     if (!navigator.serviceWorker.controller) { | ||||||
|       await new Promise<void>(f => { |       await new Promise<void>(f => { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue