mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 05:13:32 +00:00
refactor: offset cannot be null
This commit is contained in:
committed by
Carlos Valente
parent
e90e94828d
commit
938c5fbb4c
@@ -1558,7 +1558,7 @@ describe('getRuntimeOffset()', () => {
|
||||
} as RuntimeState;
|
||||
|
||||
const offset = getRuntimeOffset(state);
|
||||
expect(offset).toBe(null);
|
||||
expect(offset).toBe(0);
|
||||
});
|
||||
|
||||
it('handles loaded event', () => {
|
||||
|
||||
Reference in New Issue
Block a user