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.
Parameters
Section titled “Parameters”mxEvent
Section titled “mxEvent”The event that will be decrypted.
New data for the successful decryption.
plainContent
Section titled “plainContent”The content the event will have, once it has been decrypted.
plainType
Section titled “plainType”string
The type the event will have, once it has been decrypted.
Returns
Section titled “Returns”Promise<void>