Migrate Jasmine's clock, fail and configuration to Vitest

Proprietary

Rewrites jasmine.clock() to Vitest's fake timers (install to vi.useFakeTimers(), tick to vi.advanceTimersByTime, uninstall to vi.useRealTimers(), mockDate to vi.setSystemTime), fail(...) to expect.fail(...), and jasmine.DEFAULT_TIMEOUT_INTERVAL = n to vi.setConfig({ testTimeout: n }). Jasmine APIs Vitest has no equivalent for, such as jasmine.addMatchers or jasmine.clock().autoTick(), and any other jasmine.* member, are left with a TODO: vitest-migration comment, as the Angular CLI's refactor-jasmine-vitest schematic does.

org.openrewrite.angular.migration.migrate-jasmine-misc-to-vitest
mod run . --recipe=org.openrewrite.angular.migration.migrate-jasmine-misc-to-vitest

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.