fix(test): ignore ResizeObserver error
This commit is contained in:
		
							parent
							
								
									1ea0aaef76
								
							
						
					
					
						commit
						4f43f019e0
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -18,3 +18,9 @@ import './commands'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Alternatively you can use CommonJS syntax:
 | 
					// Alternatively you can use CommonJS syntax:
 | 
				
			||||||
// require('./commands')
 | 
					// require('./commands')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Cypress.on('uncaught:exception', (err, runnable) => {
 | 
				
			||||||
 | 
					  if (err.message.includes('ResizeObserver loop limit exceeded')) {
 | 
				
			||||||
 | 
					    return false
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue