diff --git a/test/scripts/ci-run-timings.test.ts b/test/scripts/ci-run-timings.test.ts index 07e4995669b..7480e179f24 100644 --- a/test/scripts/ci-run-timings.test.ts +++ b/test/scripts/ci-run-timings.test.ts @@ -73,7 +73,11 @@ describe("scripts/ci-run-timings.mjs", () => { ], "current", ), - ).toMatchObject({ databaseId: 1 }); + ).toEqual({ + databaseId: 1, + event: "push", + headSha: "current", + }); }); it("falls back to the newest push CI run when the exact SHA has not appeared yet", () => { @@ -93,7 +97,11 @@ describe("scripts/ci-run-timings.mjs", () => { ], "current", ), - ).toMatchObject({ databaseId: 3 }); + ).toEqual({ + databaseId: 3, + event: "push", + headSha: "previous", + }); }); it("ignores pnpm passthrough sentinels when parsing monitor args", () => {