Skip to content

Instantly share code, notes, and snippets.

@maxhoheiser
Created March 22, 2022 16:51
Show Gist options
  • Save maxhoheiser/76d6624bbba4049a809b5bd1b36c7ca8 to your computer and use it in GitHub Desktop.
Save maxhoheiser/76d6624bbba4049a809b5bd1b36c7ca8 to your computer and use it in GitHub Desktop.
Example type definition for new Cypress custom command
/**
* Confirm metamask request for public encryption key
* @example
* cy.confirmMetamaskEncryptionPublicKeyRequest()
*/
confirmMetamaskEncryptionPublicKeyRequest(): Chainable<Subject>;
/**
* Reject metamask request for public encryption key
* @example
* cy.rejectMetamaskEncryptionPublicKeyRequest()
*/
rejectMetamaskEncryptionPublicKeyRequest(): Chainable<Subject>;
/**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment