Skip to content

decryptExistingEvent

decryptExistingEvent(mxEvent, opts): Promise<void>

Defined in: src/testing.ts:166

Given an event previously returned by mkDecryptionFailureDigitalWorldEvent, simulate a successful re-decryption attempt.

DigitalWorldEvent

The event that will be decrypted.

New data for the successful decryption.

IContent

The content the event will have, once it has been decrypted.

string

The type the event will have, once it has been decrypted.

Promise<void>