Editorial question126K views4,751 votes0 answers1 comment1,773 following
AI-generatedjasmine.clock().install() missing automatic uninstall on spec failure
jasmine.clock().install() globally replaces setTimeout, setInterval, and Date with deterministic fakes for the duration of a spec. In Jasmine 4.x and 5.x, the clock remains installed until uninstall() is called manually; the framework does not automatically restore real timers when a spec throws, times out, or finishes. Because installation is global to the