Overwrite readFile as a query for Cypress 13
Proprietarycy.readFile() is a query in Cypress 13 and can no longer be overwritten with Cypress.Commands.overwrite(). Changes Cypress.Commands.overwrite('readFile', ...) to Cypress.Commands.overwriteQuery('readFile', ...). The overwriting function itself is not changed, and must now return a function as queries do.
org. openrewrite. nodejs. migrate. cypress. MigrateCypress13OverwriteReadFilemod run . --recipe= org. openrewrite. nodejs. migrate. cypress. MigrateCypress13OverwriteReadFileInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.