mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-15 12:23:51 +00:00
refactor: restructure model to contain an object of rundowns
This commit is contained in:
@@ -4,7 +4,7 @@ import { MILLIS_PER_HOUR } from './conversionUtils';
|
||||
describe('checkIsNextDay', () => {
|
||||
it('returns false if there is no previous event', () => {
|
||||
const current = { timeStart: 0, dayOffset: 0 };
|
||||
const previous = undefined;
|
||||
const previous = null;
|
||||
expect(checkIsNextDay(current, previous)).toBeFalsy();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user