Skip to content

feat: add push notification filtering settings #7002

feat: add push notification filtering settings

feat: add push notification filtering settings #7002

Triggered via pull request September 18, 2023 20:15
Status Failure
Total duration 1m 51s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

check-code.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Check Code: test/unit/services/notifications/push-notification-filtering.spec.ts#L15
Argument of type '{ pushNotificationSettings: { pushNotificationsEnabled: boolean; disabledPushNotificationTypes: never[]; }; pushNotificationType: NotificationCategory; }' is not assignable to parameter of type '{ notificationChannel: "push"; notificationSettings: NotificationSettings; notificationCategory: NotificationCategory; }'.
Check Code: test/unit/services/notifications/push-notification-filtering.spec.ts#L32
Argument of type '{ pushNotificationSettings: { pushNotificationsEnabled: boolean; disabledPushNotificationTypes: never[]; }; pushNotificationType: NotificationCategory; }' is not assignable to parameter of type '{ notificationChannel: "push"; notificationSettings: NotificationSettings; notificationCategory: NotificationCategory; }'.
Check Code: test/unit/services/notifications/push-notification-filtering.spec.ts#L48
Argument of type '{ pushNotificationSettings: { pushNotificationsEnabled: boolean; disabledPushNotificationTypes: NotificationCategory[]; }; pushNotificationType: NotificationCategory; }' is not assignable to parameter of type '{ notificationChannel: "push"; notificationSettings: NotificationSettings; notificationCategory: NotificationCategory; }'.
Check Code
Process completed with exit code 2.