[verified] feat: auto-start next timer
This commit is contained in:
@@ -9,6 +9,17 @@ import {
|
||||
import { IndexedDbSettingsStore } from './settings-store'
|
||||
|
||||
describe('application settings', () => {
|
||||
it('automatically starts the next timer by default', () => {
|
||||
expect(DEFAULT_SETTINGS.autoStartNext).toBe(true)
|
||||
})
|
||||
|
||||
it('preserves an explicit auto-start opt-out during normalization', () => {
|
||||
expect(normalizeSettings({
|
||||
...DEFAULT_SETTINGS,
|
||||
autoStartNext: false,
|
||||
}).autoStartNext).toBe(false)
|
||||
})
|
||||
|
||||
it('uses an overlay default aligned with the slider step', () => {
|
||||
expect(DEFAULT_SETTINGS.overlayOpacity).toBe(0.2)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user