fix #984 Expected End of timeline is not calculated correctly (#985)

This commit is contained in:
Leon Eckardt
2024-05-20 22:28:23 +02:00
committed by GitHub
parent 036d4051fc
commit 97b8e6a290
4 changed files with 11 additions and 10 deletions
@@ -1424,7 +1424,7 @@ describe('getRuntimeOffset()', () => {
expect(offset).toBe(-50);
});
it('added time adds time ahead (positive offset)', () => {
it('added time subtracts time offset (positive offset)', () => {
const state = {
eventNow: {
id: '1',
@@ -1444,7 +1444,7 @@ describe('getRuntimeOffset()', () => {
} as RuntimeState;
const offset = getRuntimeOffset(state);
expect(offset).toBe(-40);
expect(offset).toBe(-60);
});
it('considers running overtime (negative offset)', () => {