Skip to content

Commit 42e2390

Browse files
committed
perf(test): run TUI PTY backends concurrently
1 parent 9fb2403 commit 42e2390

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/tui/tui-pty-local.e2e.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { createServer, type IncomingMessage, type ServerResponse } from "node:ht
44
import { tmpdir } from "node:os";
55
import path from "node:path";
66
import { pathToFileURL } from "node:url";
7-
import { afterEach, describe, expect, it } from "vitest";
7+
import { afterAll, describe, expect, it } from "vitest";
88
import { createOpenClawTestInstance } from "../../test/helpers/openclaw-test-instance.js";
99
import type { OpenClawConfig } from "../config/types.openclaw.js";
1010
import { GatewayChatClient } from "./gateway-chat.js";
@@ -450,8 +450,8 @@ async function startGatewayModeTui(params: {
450450
}
451451
}
452452

453-
describe("TUI PTY real backends", () => {
454-
afterEach(async () => {
453+
describe.concurrent("TUI PTY real backends", () => {
454+
afterAll(() => {
455455
for (const run of activeRuns.splice(0)) {
456456
run.dispose();
457457
}

0 commit comments

Comments
 (0)