chore: cleanup

This commit is contained in:
arc-alex
2025-08-14 19:30:08 +02:00
committed by Carlos Valente
parent 048a9c96ea
commit db922a67e2
4 changed files with 7 additions and 10 deletions
@@ -1011,7 +1011,7 @@ describe('getRuntimeOffset()', () => {
});
});
describe('getoffsetRel()', () => {
describe('getRuntimeOffset() relative', () => {
it('relative offset is 0 when starting at the planed time', () => {
const state = {
eventNow: {
+2 -5
View File
@@ -106,14 +106,11 @@ export function clearEventData() {
runtimeState.offset.absolute = 0;
runtimeState.offset.relative = 0;
runtimeState.offset.expectedFlagStart = null;
runtimeState.offset.expectedGroupEnd = null;
runtimeState.offset.expectedRundownEnd = null;
runtimeState.rundown.selectedEventIndex = null;
//TODO: is there any ExpectedMetadata stuff we need to clear here
runtimeState.offset.expectedGroupEnd = null;
runtimeState.offset.expectedFlagStart = null;
runtimeState.offset.expectedRundownEnd = null;
runtimeState.timer.playback = Playback.Stop;
runtimeState.clock = timeNow();
runtimeState.timer = { ...runtimeStorePlaceholder.timer };