@@ -154,7 +154,7 @@ test.serial('#getNotificationCount promise resolves response of 0 notifications
154154 global . fetch = fakeFetch ( ) ;
155155
156156 const response = await service . getNotificationCount ( ) ;
157- t . deepEqual ( response , { count : 0 , interval : 60 , lastModified : '1970-01-01T00 :00:00.000Z ' } ) ;
157+ t . deepEqual ( response , { count : 0 , interval : 60 , lastModified : 'Thu, 01 Jan 1970 00 :00:00 GMT ' } ) ;
158158} ) ;
159159
160160test . serial ( '#getNotificationCount promise resolves response of N notifications according to Link header' , async t => {
@@ -168,7 +168,7 @@ test.serial('#getNotificationCount promise resolves response of N notifications
168168 }
169169 } ) ;
170170
171- t . deepEqual ( await service . getNotificationCount ( ) , { count : 2 , interval : 60 , lastModified : '1970-01-01T00 :00:00.000Z ' } ) ;
171+ t . deepEqual ( await service . getNotificationCount ( ) , { count : 2 , interval : 60 , lastModified : 'Thu, 01 Jan 1970 00 :00:00 GMT ' } ) ;
172172
173173 global . fetch = fakeFetch ( {
174174 headers : {
@@ -179,7 +179,7 @@ test.serial('#getNotificationCount promise resolves response of N notifications
179179 }
180180 } ) ;
181181
182- t . deepEqual ( await service . getNotificationCount ( ) , { count : 3 , interval : 60 , lastModified : '1970-01-01T00 :00:00.000Z ' } ) ;
182+ t . deepEqual ( await service . getNotificationCount ( ) , { count : 3 , interval : 60 , lastModified : 'Thu, 01 Jan 1970 00 :00:00 GMT ' } ) ;
183183} ) ;
184184
185185test . serial ( '#makeApiRequest returns rejected promise for 4xx status codes' , async t => {
0 commit comments