mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-24 20:53:04 +00:00
* qa-lab: harden CI defaults and failure semantics for live lanes * qa-lab: add unit tests for suite progress logging defaults * qa-lab: cover malformed multipass summary edge cases * qa-lab: share suite summary failure counting helper * qa-lab: test allow-failures parse wiring and sanitize progress ids * fix: note qa CI live-lane defaults in changelog (#69122) (thanks @joshavant)
20 lines
691 B
TypeScript
20 lines
691 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { normalizeQaProviderMode } from "./run-config.js";
|
|
|
|
describe("matrix qa run config", () => {
|
|
it("defaults to live-frontier when provider mode is omitted", () => {
|
|
expect(normalizeQaProviderMode(undefined)).toBe("live-frontier");
|
|
expect(normalizeQaProviderMode("")).toBe("live-frontier");
|
|
});
|
|
|
|
it("keeps legacy live-openai as an alias for live-frontier", () => {
|
|
expect(normalizeQaProviderMode("live-openai")).toBe("live-frontier");
|
|
});
|
|
|
|
it("rejects unknown provider modes", () => {
|
|
expect(() => normalizeQaProviderMode("mystery-mode")).toThrow(
|
|
"unknown QA provider mode: mystery-mode",
|
|
);
|
|
});
|
|
});
|