Skip to content

Commit

Permalink
💚 Remove UTC test, now hard-coded America/New_York
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Richard committed Sep 9, 2016
1 parent b2d1430 commit c3e3190
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/utils.js
Expand Up @@ -70,18 +70,10 @@ test('Input Time', t => {
zone: 'America/New_York',
};

const expectedUTC = {
date: '2016-05-28',
time: '01:56',
zone: 'UTC',
};

const result = utils.time.input(time, 'America/New_York');
const resultUTC = utils.time.input(time);
const badResult = utils.time.input('');

t.deepEqual(result, expected, 'ISO Date Time converted to date, time, and zone');
t.deepEqual(resultUTC, expectedUTC, 'ISO Date Time converted to UTC date, time, and zone');
t.is(badResult, null, 'Returns `null` if empty string passed in');
});

Expand Down

0 comments on commit c3e3190

Please sign in to comment.