File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -219,8 +219,9 @@ function generateNotification(coreData, expirationTime) {
219
219
return notification ;
220
220
}
221
221
222
+ APNS . generateNotification = generateNotification ;
223
+
222
224
if ( process . env . TESTING ) {
223
- APNS . generateNotification = generateNotification ;
224
225
APNS . chooseConns = chooseConns ;
225
226
APNS . handleTransmissionError = handleTransmissionError ;
226
227
}
Original file line number Diff line number Diff line change @@ -147,8 +147,9 @@ function sliceDevices(devices, chunkSize) {
147
147
return chunkDevices ;
148
148
}
149
149
150
+ GCM . generateGCMPayload = generateGCMPayload ;
151
+
150
152
if ( process . env . TESTING ) {
151
- GCM . generateGCMPayload = generateGCMPayload ;
152
153
GCM . sliceDevices = sliceDevices ;
153
154
}
154
155
You can’t perform that action at this time.
0 commit comments