test: tighten browser click timeout assertion

This commit is contained in:
Shakker 2026-05-10 22:29:17 +01:00
parent edfc5c50b9
commit 93f922b758
No known key found for this signature in database

View file

@ -191,10 +191,6 @@ describe("pw-tools-core", () => {
timeoutMs: 999_999,
});
expect(click).toHaveBeenCalledWith(
expect.objectContaining({
timeout: 60_000,
}),
);
expect(click).toHaveBeenCalledWith({ timeout: 60_000 });
});
});