Created
March 22, 2022 16:46
-
-
Save maxhoheiser/0a340b75328ee810b4a0b798b15d2688 to your computer and use it in GitHub Desktop.
Example addition of custom code to Cypress plugins/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
confirmMetamaskEncryptionPublicKeyRequest: async () => { | |
const confirmed = await metamask.confirmEncryptionPublicKeyRequest(); | |
return confirmed; | |
}, | |
rejectMetamaskEncryptionPublicKeyRequest: async () => { | |
const rejected = await metamask.rejectEncryptionPublicKeyRequest(); | |
return rejected; | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment