1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +01:00

fix tests

This commit is contained in:
ivaosthu 2017-11-29 09:26:42 +01:00
parent ff8b11af4d
commit 61f7db603d

View File

@ -1,7 +1,7 @@
import { formatFullDateTime } from '../util'; import { formatFullDateTime } from '../util';
test('formats dates correctly', () => { test('formats dates correctly', () => {
expect(formatFullDateTime(1487861809466)).toEqual('02/23/2017, 2:56:49 PM'); expect(formatFullDateTime(1487861809466)).toEqual('2017-02-23 14:56:49');
expect(formatFullDateTime(1487232809466)).toEqual('02/16/2017, 8:13:29 AM'); expect(formatFullDateTime(1487232809466)).toEqual('2017-02-16 08:13:29');
expect(formatFullDateTime(1477232809466)).toEqual('10/23/2016, 2:26:49 PM'); expect(formatFullDateTime(1477232809466)).toEqual('2016-10-23 14:26:49');
}); });