fix(test): Add timezone to timestamp (#157)

This commit is contained in:
Sebastian Zivota
2023-05-15 14:56:55 +02:00
committed by GitHub
parent 3bdd61fc75
commit 53693f4e0c
+1 -1
View File
@@ -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);
});