Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "agave", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"author": "Mike MacCana <mike.maccana@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Cleaner, simpler JavaScript for ES8", |
@@ -304,4 +304,4 @@ // Tests. Mocha/assert style. See | ||
var someDay = new Date('Sun Jul 31 2016 18:55:19 GMT+0100 (BST)') | ||
var fakeNowDate = new Date('2018-04-16') | ||
assert.deepEqual(someDay.daysAgo(), 624) | ||
var fakeNowDate = new Date('Fri Jun 8 2018 18:55:19 GMT+0100 (BST)') | ||
assert.deepEqual(someDay.daysAgo(fakeNowDate), 712) | ||
}); | ||
@@ -308,0 +308,0 @@ }); |
34371
11
929