DEV Community

Discussion on: Migrating to Cypress 10

Collapse
 
jordanpowell88 profile image
Jordan Powell

The easiest way is to use git to undo any changes that happened as a result of the migration and run cypress again

Collapse
 
bvanderneut profile image
Bjorn van der Neut

I eventually fixed it with an powershell script.

get-childItem -Path "C:\cypress\" -recurse -Include *.spec.ts | rename-item -NewName { $_.name -replace ".spec.ts",".cy.ts" }