mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 17:54:47 +00:00
ci: avoid pnpm prompts in live docker tests
This commit is contained in:
@@ -13,6 +13,15 @@ function readForwardedDockerEnvVars(): string[] {
|
||||
}
|
||||
|
||||
describe("scripts/test-live-cli-backend-docker.sh", () => {
|
||||
it("runs the staged live test without invoking pnpm inside Docker", () => {
|
||||
const script = fs.readFileSync(SCRIPT_PATH, "utf8");
|
||||
|
||||
expect(script).toContain(
|
||||
"node scripts/test-live.mjs -- src/gateway/gateway-cli-backend.live.test.ts",
|
||||
);
|
||||
expect(script).not.toContain("pnpm test:live src/gateway/gateway-cli-backend.live.test.ts");
|
||||
});
|
||||
|
||||
it("forwards both fresh and resume CLI arg overrides into the Docker container", () => {
|
||||
const forwardedVars = readForwardedDockerEnvVars();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user