1 parent 2856fa4 commit f6deae7Copy full SHA for f6deae7
1 file changed
timeclock/webapp/tests/p3-clock.test.ts
@@ -188,8 +188,8 @@ run("P3 clock flow (real Postgres)", () => {
188
const actions = Object.fromEntries(audit.rows.map((r) => [r.action, r.n]));
189
expect(actions.clock_in).toBeGreaterThanOrEqual(2);
190
expect(actions.clock_out).toBeGreaterThanOrEqual(2);
191
- expect(actions.break_start).toBe(1);
192
- expect(actions.break_end).toBe(1);
+ expect(actions.break_start).toBe(2); // unpaid round-trip + paid rest break
+ expect(actions.break_end).toBe(2);
193
expect(actions.auto_deduct).toBe(1);
194
expect(actions.switch_job_open).toBe(1);
195
0 commit comments