Skip to content

Commit 9e77a41

Browse files
committed
test: specify cli auth epoch shape
1 parent 015bf23 commit 9e77a41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/agents/cli-auth-epoch.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe("resolveCliAuthEpoch", () => {
1616
label = "auth epoch",
1717
): asserts epoch is string {
1818
expect(typeof epoch, label).toBe("string");
19-
expect(epoch?.trim().length, label).toBeGreaterThan(0);
19+
expect(epoch, label).toMatch(/^[a-f0-9]{64}$/);
2020
}
2121

2222
it("returns undefined when no local or auth-profile credentials exist", async () => {

0 commit comments

Comments
 (0)