Skip to content

Commit 4d8bbc7

Browse files
remove uncessary condition
1 parent f9ba18f commit 4d8bbc7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

accessibility/scanner/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,6 @@ function oldprocessAccessibilityReport(win){
220220

221221
const overRideCommands = Cypress.env("ACCESSIBILITY_OVERIDE_COMMANDS") || false;
222222
if (overRideCommands) {
223-
let isAccessibilityLoaded = Cypress.env("ACCESSIBILITY") || false;
224-
if (!isAccessibilityLoaded){
225-
console.log('log', "accessibility not enabled " + isAccessibilityLoaded);
226-
return ;
227-
}
228223
commandsToOverride.forEach((command) => {
229224
Cypress.Commands.overwrite(command, (originalFn, url, options) => {
230225
let isAccessibilityLoaded = Cypress.env("ACCESSIBILITY") || false;

0 commit comments

Comments
 (0)