From 4335ca0ee4cfd3a8bcfc69baf5fc5970d0746183 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 7 Mar 2023 12:19:15 -0600 Subject: [PATCH] PR-579798: trying to fix Cypress component testing. --- cypress.config.ts | 1 - cypress/support/component.ts | 5 ----- 2 files changed, 6 deletions(-) diff --git a/cypress.config.ts b/cypress.config.ts index 7006ebb..6a51df3 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -20,6 +20,5 @@ export default defineConfig({ }, viewportWidth: 1280, viewportHeight: 720, - fileServerFolder: 'public', } }); diff --git a/cypress/support/component.ts b/cypress/support/component.ts index f067178..00ae19b 100644 --- a/cypress/support/component.ts +++ b/cypress/support/component.ts @@ -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()