Migrate Jasmine focused, skipped, pending and done tests to Vitest
ProprietaryRewrites fdescribe, fit, xdescribe and xit to describe.only, it.only, describe.skip and it.skip; turns a test that calls pending() into it.skip; and turns a test or hook taking a done callback into an async function, awaiting the promise done was chained to and throwing where it called done.fail. A test whose done is called from a nested callback, such as a subscribe or setTimeout callback, or passed on, returns a promise that the same done resolves, with done.fail rejecting it. A done called with an argument, or one in an async function, is left with a TODO: vitest-migration comment, as the Angular CLI's refactor-jasmine-vitest schematic does.
org. openrewrite. angular. migration. migrate-jasmine-lifecycle-to-vitestmod run . --recipe= org. openrewrite. angular. migration. migrate-jasmine-lifecycle-to-vitestInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.