chore: update tests
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
@@ -223,4 +223,8 @@ describe('shared vault invites', function () {
|
||||
|
||||
await deinitContactContext()
|
||||
})
|
||||
|
||||
it.skip('should fail to invite user if already member of shared vault', async () => {
|
||||
console.error('Implement')
|
||||
})
|
||||
})
|
||||
|
||||
@@ -124,7 +124,7 @@ describe('shared vault items', function () {
|
||||
})
|
||||
|
||||
it('adding item to vault while belonging to other vault should move the item to new vault', async () => {
|
||||
context.activatePaidSubscriptionForUser()
|
||||
await context.activatePaidSubscriptionForUser()
|
||||
|
||||
const { note, contactContext, contact, deinitContactContext } =
|
||||
await Collaboration.createSharedVaultWithAcceptedInviteAndNote(context)
|
||||
|
||||
Reference in New Issue
Block a user