mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 01:31:08 +00:00
test(ci): align node shard check names
This commit is contained in:
@@ -7,7 +7,11 @@ describe("scripts/lib/ci-node-test-plan.mjs", () => {
|
||||
|
||||
expect(shards).not.toHaveLength(0);
|
||||
expect(shards.map((shard) => shard.checkName)).toEqual(
|
||||
shards.map((shard) => `checks-node-core-test-${shard.shardName}`),
|
||||
shards.map((shard) =>
|
||||
shard.shardName.startsWith("core-unit-")
|
||||
? `checks-node-core-${shard.shardName.slice("core-unit-".length)}`
|
||||
: `checks-node-${shard.shardName}`,
|
||||
),
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user