chore: update tests

This commit is contained in:
Mo
2023-08-07 11:53:00 -05:00
parent 653af36363
commit 0f1c8ef030
3 changed files with 11 additions and 3 deletions

View File

@@ -424,14 +424,18 @@ describe('asymmetric messages', function () {
})
it('sending a new vault invite to a trusted contact then changing account password should still allow contact to trust invite', async () => {
const { sharedVault, contactContext, contact, deinitContactContext } = await Collaboration.createSharedVaultWithAcceptedInvite(
await context.activatePaidSubscriptionForUser()
const { contactContext, contact, deinitContactContext } = await Collaboration.createSharedVaultWithAcceptedInvite(
context,
)
contactContext.lockSyncing()
const newVault = await Collaboration.createSharedVault(context)
await context.vaultInvites.inviteContactToSharedVault(
sharedVault,
newVault,
contact,
SharedVaultUserPermission.PERMISSIONS.Write,
)