@@ -154,7 +154,7 @@ test.serial('#getNotificationCount promise resolves response of 0 notifications
154
154
global . fetch = fakeFetch ( ) ;
155
155
156
156
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 ' } ) ;
158
158
} ) ;
159
159
160
160
test . 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
168
168
}
169
169
} ) ;
170
170
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 ' } ) ;
172
172
173
173
global . fetch = fakeFetch ( {
174
174
headers : {
@@ -179,7 +179,7 @@ test.serial('#getNotificationCount promise resolves response of N notifications
179
179
}
180
180
} ) ;
181
181
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 ' } ) ;
183
183
} ) ;
184
184
185
185
test . serial ( '#makeApiRequest returns rejected promise for 4xx status codes' , async t => {
0 commit comments