mirror of
https://github.com/videojs/video.js.git
synced 2025-07-15 01:34:23 +02:00
Fixed test to use exported property
This commit is contained in:
@ -92,7 +92,7 @@ test('currentTime is the seek target during seeking', function() {
|
|||||||
currentTime = 3;
|
currentTime = 3;
|
||||||
strictEqual(3, tech.currentTime(), 'currentTime is retreived from the SWF');
|
strictEqual(3, tech.currentTime(), 'currentTime is retreived from the SWF');
|
||||||
|
|
||||||
tech.setCurrentTime(7);
|
tech['setCurrentTime'](7);
|
||||||
seeking = true;
|
seeking = true;
|
||||||
strictEqual(7, tech.currentTime(), 'during seeks the target time is returned');
|
strictEqual(7, tech.currentTime(), 'during seeks the target time is returned');
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user