Skip to content

Commit

Permalink
no need to coerce a boolean value to a booleanc
Browse files Browse the repository at this point in the history
  • Loading branch information
cacieprins committed Dec 20, 2024
1 parent a0a151a commit 6c52c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/driver/src/cypress/ensure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ const commandCanCommunicateWithAUT = (cy: $Cy, err?): boolean => {
const crossOriginCommandError = $errUtils.errByPath('miscellaneous.cross_origin_command', {
commandOrigin: window.location.origin,
autOrigin: cy.state('autLocation').origin,
isInjectDocumentDomainEnabled: !!Cypress.config('injectDocumentDomain'),
isInjectDocumentDomainEnabled: Cypress.config('injectDocumentDomain'),
})

if (err) {
Expand Down

0 comments on commit 6c52c93

Please sign in to comment.