1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

revert common test update

This commit is contained in:
ivaosthu 2017-11-29 10:24:59 +01:00
parent 5a15396ce4
commit 5d6d1c5e31

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('2017-02-23 14:56:49'); expect(formatFullDateTime(1487861809466)).toEqual('02/23/2017, 2:56:49 PM');
expect(formatFullDateTime(1487232809466)).toEqual('2017-02-16 08:13:29'); expect(formatFullDateTime(1487232809466)).toEqual('02/16/2017, 8:13:29 AM');
expect(formatFullDateTime(1477232809466)).toEqual('2016-10-23 14:26:49'); expect(formatFullDateTime(1477232809466)).toEqual('10/23/2016, 2:26:49 PM');
}); });