Skip to content

Commit

Permalink
fix the v11
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Oct 23, 2024
1 parent fd9a12f commit 025d54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index-v11.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Cypress.Commands.add('else', { prevSubject: true }, (subject, text) => {
// find the subject from the "if()" before
subject = findMyIfSubject(cy.state('current').attributes)
}
if (typeof text !== undefined) {
if (typeof text !== 'undefined') {
cy.log(text)
}
if (subject) {
Expand Down

0 comments on commit 025d54e

Please sign in to comment.