Fix missing await in test, causing crash on rejection

This commit is contained in:
larabr 2024-02-19 16:35:35 +01:00
parent 3d664e7b26
commit 357a19c6e1

View File

@ -1188,7 +1188,7 @@ Fk7EflUZzngwY4lBzYAfnNBjEjc30xD/ddo+rwE=
],
config
});
expect(openpgp.decrypt({
await expect(openpgp.decrypt({
message: await openpgp.readMessage({ armoredMessage: message_with_notation }),
decryptionKeys: privKey,
verificationKeys: privKey,