Use mock timers for every test. Boilerplate for waiting fix sentinel test.
Fixed time mocking in CEHTML modifier tests
Implemented exit and enter buffering sentinels.
Changed StatusEventTimerCleanedUpOnReset to check clearInterval is called with _updateInterval rather than called once
Made changes to sentinel timing
Implemented should be seeked sentinel - needs refactoring in next commit
Removed unused seconds parameter from beginPlayback
Refactored _setSentinel to _setSentinels, which takes an array on sentinels to be set
Should be seeked sentinel now calls seek on device with clamped time
Implemented enterBuffering sentinel
Extracted clearSentinels method
Should be seeked sentinel now accepts a seek inaccuracy of up to 15 seconds
setSentinels takes an array of sentinels
Call setSentinels for every state
Merge branch 'new-media-api-sentinels' of https://github.com/fmtvp/tal into new-media-api-sentinels
Should be seeked sentinel now updates sentinel seek time with current time if it does not need to take corrective action
Fix bug: dont call sentinel function directly any more
Add test dsl function to advance fake time and fire sentinels
Extract getToPlaying test dsl helper
Use getToPlaying function to remove duplication in tests
Should be seeked sentinel now checks against clamped time - if target seek time is out of range by more than the seek tolerance, it previously would attempt to rety the out of range seek