Skip to content

Commit 6fdd758

Browse files
committed
Remove undici from messaging testing
1 parent ba32125 commit 6fdd758

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

integration/messaging/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"express": "4.19.2",
1616
"geckodriver": "2.0.4",
1717
"mocha": "9.2.2",
18-
"undici": "6.19.7",
1918
"selenium-assistant": "6.1.1"
2019
},
2120
"engines": {

integration/messaging/test/utils/sendMessage.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
const undici = require('undici');
1918
const FCM_SEND_ENDPOINT = 'https://fcm.googleapis.com/fcm/send';
2019
// Rotatable fcm server key. It's generally a bad idea to expose server keys. The reason is to
2120
// simplify testing process (no need to implement server side decryption of git secret). The
@@ -28,7 +27,7 @@ module.exports = async payload => {
2827
'Requesting to send an FCM message with payload: ' + JSON.stringify(payload)
2928
);
3029

31-
const response = await undici.fetch(FCM_SEND_ENDPOINT, {
30+
const response = await fetch(FCM_SEND_ENDPOINT, {
3231
method: 'POST',
3332
body: JSON.stringify(payload),
3433
headers: {

0 commit comments

Comments
 (0)