mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-01 19:30:22 +00:00
test: trim extension teardown churn
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user