Skip to content

Commit

Permalink
Removed const usage in test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Larry Battle committed Nov 5, 2019
1 parent 1f1abae commit 4e368cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ describe('timestamp', function() {
});

it('should return the 2 digit year for a given date', function() {
const date = new Date(2019, 0);
const expectedYear = "19";
var date = new Date(2019, 0);
var expectedYear = "19";

assert.equal(timestamp('YY', date), expectedYear);
assert.equal(timestampUTC('YY', date), expectedYear);
Expand Down

0 comments on commit 4e368cc

Please sign in to comment.