Skip to content

Commit

Permalink
fix: removed test testing removed functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgetgood authored and RichardLitt committed Oct 20, 2017
1 parent b447fce commit bad210a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/queries-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ const dates = [
const tf = q.timeFilter
const fdate = new Date('2017-09-24')

test('Time filtering defaults', t => {
t.is(tf()(dates).length, 6)
t.is(tf(fdate)(dates).length, 3)
t.is(tf(undefined, fdate)(dates).length, 3)
})

test('time filtering granularity', t => {
t.is(tf(fdate, fdate)(dates).length, 0)
t.is(tf(new Date('2017-09-24T11:00'), new Date('2017'))(dates).length, 1)
Expand Down

0 comments on commit bad210a

Please sign in to comment.