You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import { installTestEnv } from "./test-env";
|
|
import { afterEach, vi } from "vitest";
|
|
|
|
const { cleanup } = installTestEnv();
|
|
process.on("exit", cleanup);
|
|
|
|
afterEach(() => {
|
|
// Guard against leaked fake timers across test files/workers.
|
|
vi.useRealTimers();
|
|
});
|