Skip to content

Commit 79e9b25

Browse files
committed
removed extra code
1 parent 8dec92b commit 79e9b25

File tree

1 file changed

+0
-7
lines changed
  • bin/accessibility-automation/cypress

1 file changed

+0
-7
lines changed

bin/accessibility-automation/cypress/index.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -317,13 +317,6 @@ commandToOverwrite.forEach((command) => {
317317
});
318318

319319
afterEach(() => {
320-
try {
321-
throw new Error('Deliberate exception thrown for testing purposes');
322-
} catch (error) {
323-
if (error && error.stack) {
324-
browserStackLog(error.stack);
325-
}
326-
}
327320
const attributes = Cypress.mocha.getRunner().suite.ctx.currentTest;
328321
cy.window().then(async (win) => {
329322
let shouldScanTestForAccessibility = shouldScanForAccessibility(attributes);

0 commit comments

Comments
 (0)