Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix test for people in other timezones

+2 -3
+2 -3
packages/core/src/utils/stringifyVariables.test.ts
··· 30 30 }); 31 31 32 32 it('stringifies date correctly', () => { 33 - expect(stringifyVariables(new Date('2019-12-11T04:20:00'))).toBe( 34 - '2019-12-11T04:20:00.000Z' 35 - ); 33 + const date =new Date('2019-12-11T04:20:00'); 34 + expect(stringifyVariables(date)).toBe(date.toJSON()); 36 35 });