License Notification Banner #71
Annotations
5 errors
|
test
Process completed with exit code 1.
|
|
src/api/ebbApi/__tests__/notificationApi.test.ts > NotificationApi > getLicenseExpirationNotification > subscription licenses > should return paid_expiring_3_days notification when subscription expires in 1 day:
src/api/ebbApi/__tests__/notificationApi.test.ts#L130
AssertionError: expected { Object (sentId, content, ...) } to deeply equal { Object (sentId, content, ...) }
- Expected
+ Received
{
- "content": "Your subscription expires in 3 days. Renew to keep your access.",
+ "content": "Your subscription expires in less than 3 days on Jan 16, 2024. Renew to keep your access.",
"sentId": "paid_expiring_3_days",
"subType": "info",
}
❯ src/api/ebbApi/__tests__/notificationApi.test.ts:130:24
|
|
src/api/ebbApi/__tests__/notificationApi.test.ts > NotificationApi > getLicenseExpirationNotification > subscription licenses > should return paid_expiring_3_days notification when subscription expires in 3 days:
src/api/ebbApi/__tests__/notificationApi.test.ts#L119
AssertionError: expected { Object (sentId, content, ...) } to deeply equal { Object (sentId, content, ...) }
- Expected
+ Received
{
- "content": "Your subscription expires in 3 days. Renew to keep your access.",
+ "content": "Your subscription expires in less than 3 days on Jan 18, 2024. Renew to keep your access.",
"sentId": "paid_expiring_3_days",
"subType": "info",
}
❯ src/api/ebbApi/__tests__/notificationApi.test.ts:119:24
|
|
src/api/ebbApi/__tests__/notificationApi.test.ts > NotificationApi > getLicenseExpirationNotification > free trial licenses > should return trial_expiring_3_days notification when trial expires in 1 day:
src/api/ebbApi/__tests__/notificationApi.test.ts#L70
AssertionError: expected { …(3) } to deeply equal { …(3) }
- Expected
+ Received
{
- "content": "Your free trial ends in 3 days. Upgrade to keep your pro features.",
+ "content": "Your free trial ends in less than 3 days on Jan 16, 2024. Upgrade to keep your pro features.",
"sentId": "trial_expiring_3_days",
"subType": "info",
}
❯ src/api/ebbApi/__tests__/notificationApi.test.ts:70:24
|
|
src/api/ebbApi/__tests__/notificationApi.test.ts > NotificationApi > getLicenseExpirationNotification > free trial licenses > should return trial_expiring_3_days notification when trial expires in 3 days:
src/api/ebbApi/__tests__/notificationApi.test.ts#L59
AssertionError: expected { …(3) } to deeply equal { …(3) }
- Expected
+ Received
{
- "content": "Your free trial ends in 3 days. Upgrade to keep your pro features.",
+ "content": "Your free trial ends in less than 3 days on Jan 18, 2024. Upgrade to keep your pro features.",
"sentId": "trial_expiring_3_days",
"subType": "info",
}
❯ src/api/ebbApi/__tests__/notificationApi.test.ts:59:24
|