Skip to content

PR #2369

PR #2369 #142

Triggered via dynamic August 31, 2023 10:01
Status Success
Total duration 3m 17s
Artifacts

codeql

on: dynamic
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
parseWebhookNotification > should parse NEW_CONFIRMATION payloads > with chain info: src/services/firebase/index.test.ts#L47
Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "body": "Safe 0x0000...0001 on Mainnet has a new confirmation from 0x0000...0002 on transaction 0x0000...0003.", "link": "https://app.safe.global/transactions/tx?safe=eth:0x0000000000000000000000000000000000000001&id=0x0000000000000000000000000000000000000000000000000000000000000003", - "title": "New confirmation", + "title": "Transaction confirmation", } at Object.toEqual (/home/runner/work/safe-wallet-web/safe-wallet-web/src/services/firebase/index.test.ts:56:28)
parseWebhookNotification > should parse NEW_CONFIRMATION payloads > without chain info: src/services/firebase/index.test.ts#L63
Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "body": "Safe 0x0000...0001 on chain 1 has a new confirmation from 0x0000...0002 on transaction 0x0000...0003.", "link": "https://app.safe.global", - "title": "New confirmation", + "title": "Transaction confirmation", } at Object.toEqual (/home/runner/work/safe-wallet-web/safe-wallet-web/src/services/firebase/index.test.ts:68:28)
Notifications > getRegisterDevicePayload > should return the payload without signature: src/components/settings/PushNotifications/logic.test.ts#L92
Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 1 @@ -1,8 +1,8 @@ Object { "buildNumber": "0", - "bundle": "https://app.safe.global", + "bundle": "safe", "cloudMessagingToken": "0.8805039362798368", "deviceType": "WEB", "safeRegistrations": Array [ Object { "chainId": "1", at Object.toStrictEqual (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/settings/PushNotifications/logic.test.ts:107:23)
Notifications > getRegisterDevicePayload > should return the payload with signature: src/components/settings/PushNotifications/logic.test.ts#L130
Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 1 @@ -1,8 +1,8 @@ Object { "buildNumber": "0", - "bundle": "https://app.safe.global", + "bundle": "safe", "cloudMessagingToken": "0.8808075112747313", "deviceType": "WEB", "safeRegistrations": Array [ Object { "chainId": "1", at Object.toStrictEqual (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/settings/PushNotifications/logic.test.ts:155:23)
Analyze (javascript)
Failed to restore: Cache service responded with 403