extract isPlaybackActive to a global util function (#1393)

This commit is contained in:
Alex Christoffer Rasmussen
2024-12-18 12:44:48 +01:00
committed by GitHub
parent df1cf7a96b
commit cfcf6a5684
5 changed files with 25 additions and 19 deletions
@@ -175,6 +175,7 @@ describe('mutation on runtimeState', () => {
expect(newState.runtime.plannedStart).toBe(0);
expect(newState.runtime.plannedEnd).toBe(1500);
expect(newState.currentBlock.block).toBeNull();
expect(newState.runtime.offset).toBe(0);
// 2. Start event
start();