fix(test): Add timezone to timestamp (#157)
This commit is contained in:
@@ -104,7 +104,7 @@ describe('options', () => {
|
||||
});
|
||||
|
||||
test('should return an integer when started_at is an ISO8601 string.', async () => {
|
||||
process.env['INPUT_STARTED_AT'] = '2017-07-13T19:40:00';
|
||||
process.env['INPUT_STARTED_AT'] = '2017-07-13T19:40:00-07:00';
|
||||
expect(getStartedAt()).toEqual(1500000000);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user