feat(FN-4645): complete Step 2 — align PR-checks workflow contract assertions
Fusion-Task-Id: FN-4645 Fusion-Task-Lineage: fa2d2d15-dded-470d-8101-4220ea4e919d
This commit is contained in:
@@ -187,8 +187,8 @@ describe("PR checks workflow (.github/workflows/pr-checks.yml)", () => {
|
||||
expect(workflow.jobs?.typecheck).toBeDefined();
|
||||
expect(workflow.jobs?.build).toBeDefined();
|
||||
expect(workflow.jobs?.["test-shards"]).toBeDefined();
|
||||
expect(workflow.jobs?.["test-shards"]?.strategy?.matrix?.shard).toEqual([1, 2, 3]);
|
||||
expect(content).toContain("pnpm test:ci:shard --shard ${{ matrix.shard }} --total 3");
|
||||
expect(workflow.jobs?.["test-shards"]?.strategy?.matrix?.shard).toEqual([1, 2, 3, 4]);
|
||||
expect(content).toContain("pnpm test:ci:shard --shard ${{ matrix.shard }} --total 4");
|
||||
expect(content).not.toContain("run: pnpm test\n");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user