mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-16 20:50:46 +00:00
test(qa-lab): accept native Windows paths
This commit is contained in:
@@ -548,6 +548,7 @@ describe("qa cli runtime", () => {
|
||||
});
|
||||
|
||||
it("runs a host-only parity preflight against the sentinel scenario", async () => {
|
||||
const repoRoot = path.resolve("/tmp/openclaw-repo");
|
||||
await runQaSuiteCommand({
|
||||
repoRoot: "/tmp/openclaw-repo",
|
||||
providerMode: "mock-openai",
|
||||
@@ -557,9 +558,9 @@ describe("qa cli runtime", () => {
|
||||
});
|
||||
|
||||
expect(runQaSuiteFromRuntime).toHaveBeenCalledWith({
|
||||
repoRoot: path.resolve("/tmp/openclaw-repo"),
|
||||
outputDir: expect.stringMatching(
|
||||
/^\/tmp\/openclaw-repo\/\.artifacts\/qa-e2e\/preflight\/suite-/,
|
||||
repoRoot,
|
||||
outputDir: expect.stringContaining(
|
||||
path.join(repoRoot, ".artifacts", "qa-e2e", "preflight", "suite-"),
|
||||
),
|
||||
transportId: "qa-channel",
|
||||
providerMode: "mock-openai",
|
||||
|
||||
Reference in New Issue
Block a user