feat(group): add message expiration to group metadata #2415
Annotations
6 errors
Run tests:
bindings_node/test/Conversations.test.ts#L43
AssertionError: expected +0 to be undefined // Object.is equality
- Expected:
undefined
+ Received:
0
❯ test/Conversations.test.ts:43:51
|
Run tests:
bindings_node/test/Conversations.test.ts#L95
Error: Missing field `updateMessageExpirationMsPolicy` on CreateGroupOptions.customPermissionPolicySet
❯ test/Conversations.test.ts:95:8
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'InvalidArg' }
|
Run tests:
bindings_node/test/Conversations.test.ts#L133
AssertionError: expected { addMemberPolicy: +0, …(8) } to deeply equal { addMemberPolicy: +0, …(7) }
- Expected
+ Received
Object {
"addAdminPolicy": 3,
"addMemberPolicy": 0,
"removeAdminPolicy": 3,
"removeMemberPolicy": 2,
"updateGroupDescriptionPolicy": 0,
"updateGroupImageUrlSquarePolicy": 0,
"updateGroupNamePolicy": 0,
"updateGroupPinnedFrameUrlPolicy": 0,
+ "updateMessageExpirationMsPolicy": 2,
}
❯ test/Conversations.test.ts:133:50
|
Run tests:
bindings_node/test/Conversations.test.ts#L192
AssertionError: expected { addMemberPolicy: 1, …(8) } to deeply equal { addAdminPolicy: 1, …(7) }
- Expected
+ Received
Object {
"addAdminPolicy": 1,
"addMemberPolicy": 1,
"removeAdminPolicy": 1,
"removeMemberPolicy": 1,
"updateGroupDescriptionPolicy": 0,
"updateGroupImageUrlSquarePolicy": 0,
"updateGroupNamePolicy": 0,
"updateGroupPinnedFrameUrlPolicy": 0,
+ "updateMessageExpirationMsPolicy": 4,
}
❯ test/Conversations.test.ts:192:50
|
Run tests:
bindings_node/test/Conversations.test.ts#L329
AssertionError: expected { addMemberPolicy: 2, …(8) } to deeply equal { addMemberPolicy: 2, …(7) }
- Expected
+ Received
Object {
"addAdminPolicy": 3,
"addMemberPolicy": 2,
"removeAdminPolicy": 3,
"removeMemberPolicy": 2,
"updateGroupDescriptionPolicy": 2,
"updateGroupImageUrlSquarePolicy": 2,
"updateGroupNamePolicy": 2,
"updateGroupPinnedFrameUrlPolicy": 2,
+ "updateMessageExpirationMsPolicy": 2,
}
❯ test/Conversations.test.ts:329:65
|
Run tests
Process completed with exit code 1.
|
Loading