Skip to content

Commit 2d90a82

Browse files
committed
chore: remove empty wrap commands
1 parent 0c91c9f commit 2d90a82

File tree

1 file changed

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

1 file changed

+0
-12
lines changed

bin/accessibility-automation/cypress/index.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -281,18 +281,6 @@ Cypress.on('command:start', async (command) => {
281281
afterEach(() => {
282282
const attributes = Cypress.mocha.getRunner().suite.ctx.currentTest;
283283
cy.window().then(async (win) => {
284-
cy.wrap(new Promise((resolve) => {
285-
setTimeout(async () => {
286-
resolve();
287-
}, 5000);
288-
}), {timeout: 20000}).then(() => {
289-
cy.wrap(new Promise((resolve) => {
290-
setTimeout(async () => {
291-
resolve();
292-
}, 5000);
293-
}), {timeout: 20000})
294-
})
295-
296284
let shouldScanTestForAccessibility = shouldScanForAccessibility(attributes);
297285
if (!shouldScanTestForAccessibility) return;
298286

0 commit comments

Comments
 (0)