test: trim extension teardown churn

This commit is contained in:
Peter Steinberger
2026-04-03 07:14:23 +01:00
parent 376a042ba1
commit 9bba2ec0ad
6 changed files with 4 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
import fs from "node:fs";
import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
import { beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
import type { BrowserServerState } from "./server-context.js";
vi.mock("./chrome-mcp.js", () => ({
@@ -58,10 +58,6 @@ function makeState(): BrowserServerState {
};
}
afterEach(() => {
vi.clearAllMocks();
});
beforeAll(async () => {
({ createBrowserRouteContext } = await import("./server-context.js"));
chromeMcp = await import("./chrome-mcp.js");