fixup! breakManager: Add new state machine for screen time/health breaks

This commit is contained in:
Philip Withnall 2024-06-28 17:02:22 +01:00
parent 85b9999663
commit f9274bda97

View file

@ -360,6 +360,8 @@ describe('Break manager', () => {
harness.expectState(102, breakManager, BreakState.DISABLED);
harness.addIdleEvent(130);
harness.expectState(135, breakManager, BreakState.DISABLED);
harness.run();
});
// A simple test which simulates the user being active briefly, taking a short