mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-07 18:42:25 +00:00
test(scripts): normalize agent shard path separators
This commit is contained in:
@@ -834,7 +834,7 @@ describe("scripts/lib/ci-node-test-plan.mjs", () => {
|
||||
.flatMap((shard) => shard.includePatterns ?? [])
|
||||
.toSorted((a, b) => a.localeCompare(b));
|
||||
const expected = listTestFiles("src/agents")
|
||||
.filter((file) => !relative("src/agents", file).includes("/"))
|
||||
.filter((file) => !relative("src/agents", file).replaceAll("\\", "/").includes("/"))
|
||||
.toSorted((a, b) => a.localeCompare(b));
|
||||
|
||||
expect(actual).toEqual(expected);
|
||||
|
||||
Reference in New Issue
Block a user