From 4ae1099c0006b5f4c5fee5d2381a0d8455a57aa2 Mon Sep 17 00:00:00 2001 From: heff Date: Tue, 22 Sep 2015 11:42:16 -0400 Subject: [PATCH] Removed timeranges no-index tests because they are invalid now --- test/unit/utils/time-ranges.test.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/unit/utils/time-ranges.test.js b/test/unit/utils/time-ranges.test.js index 503a220121..cc6b783add 100644 --- a/test/unit/utils/time-ranges.test.js +++ b/test/unit/utils/time-ranges.test.js @@ -10,8 +10,6 @@ test('should create a fake single timerange', function(assert){ var tr = createTimeRanges(0, 10); equal(tr.length, 1, 'length should be 1'); - equal(tr.start(), 0, 'works if start is called with no arguments'); - equal(tr.end(), 10, 'works if end is called with no arguments'); equal(tr.start(0), 0, 'works if start is called with valid index'); equal(tr.end(0), 10, 'works if end is called with with valid index'); assert.throws(()=>tr.start(1), /Failed to execute 'start'/, 'fails if start is called with an invalid index'); @@ -25,8 +23,6 @@ test('should create a fake multiple timerange', function(assert){ ]); equal(tr.length, 2, 'length should equal 2'); - equal(tr.start(), 0, 'works if start is called with no arguments'); - equal(tr.end(), 10, 'works if end is called with no arguments'); equal(tr.start(1), 11, 'works if start is called with valid index'); equal(tr.end(1), 20, 'works if end is called with with valid index'); assert.throws(()=>tr.start(-1), /Failed to execute 'start'/, 'fails if start is called with an invalid index');