mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 12:40:20 +00:00
fix(agents): honor verbose defaults and trim process setup
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import fs from "node:fs";
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { createAcpVitestConfig } from "../vitest.acp.config.ts";
|
||||
@@ -203,6 +204,14 @@ describe("scoped vitest configs", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("keeps the process lane off the openclaw runtime setup", () => {
|
||||
expect(defaultProcessConfig.test?.setupFiles).toEqual(["test/setup.ts"]);
|
||||
expect(defaultPluginSdkConfig.test?.setupFiles).toEqual([
|
||||
"test/setup.ts",
|
||||
"test/setup-openclaw-runtime.ts",
|
||||
]);
|
||||
});
|
||||
|
||||
it("defaults channel tests to threads with the non-isolated runner", () => {
|
||||
expect(defaultChannelsConfig.test?.isolate).toBe(false);
|
||||
expect(defaultChannelsConfig.test?.pool).toBe("threads");
|
||||
|
||||
Reference in New Issue
Block a user