Skip to content

Commit

Permalink
remove redundant done commment in primary
Browse files Browse the repository at this point in the history
  • Loading branch information
AtofStryker committed Jan 11, 2022
1 parent 12e32f1 commit 336827f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/driver/src/cy/multi-domain/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ export function addCommands (Commands, Cypress: Cypress.Cypress, cy: Cypress.cy,
const doneByReference = cy.state('done')

// if three or more arguments are passed in, verify the second argument is actually the done fn
// TODO: This will need to be updated when #19577 is merged in to account for all the method signatures switchToDomain can have
if (done !== doneByReference) {
Cypress.backend('ready:for:domain')

Expand Down

0 comments on commit 336827f

Please sign in to comment.