1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-12 11:15:04 +02:00
video.js/test/unit/utils/time-ranges.test.js

10 lines
236 B
JavaScript

import { createTimeRange } from '../../../src/js/utils/time-ranges.js';
q.module('time-ranges');
test('should create a fake timerange', function(){
var tr = createTimeRange(0, 10);
ok(tr.start() === 0);
ok(tr.end() === 10);
});