From 53693f4e0c1b0ed30dbcded216f7e90e494a56e0 Mon Sep 17 00:00:00 2001 From: Sebastian Zivota Date: Mon, 15 May 2023 14:56:55 +0200 Subject: [PATCH] fix(test): Add timezone to timestamp (#157) --- __tests__/main.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/main.test.ts b/__tests__/main.test.ts index 85e18f4..13a1260 100644 --- a/__tests__/main.test.ts +++ b/__tests__/main.test.ts @@ -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); });