mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-06-19 04:18:31 -06:00
PR-579798: trying to fix Cypress component testing.
This commit is contained in:
@ -38,10 +38,5 @@ declare global {
|
||||
|
||||
Cypress.Commands.add('mount', mount);
|
||||
|
||||
Cypress.on('uncaught:exception', (err, runnable) => {
|
||||
// returning false here prevents Cypress from failing the test
|
||||
return false;
|
||||
});
|
||||
|
||||
// Example use:
|
||||
// cy.mount(<MyComponent />)
|
||||
|
Reference in New Issue
Block a user