https://cypress.io logo
Hello folks. It's been a while. I am trying to set...
# e2e-testing
l
Hello folks. It's been a while. I am trying to setup Mailosaur with Cypress. I've installed the plugin, as well as the Typescript plugin. I followed https://mailosaur.com/docs/frameworks-and-tools/cypress/ however I'm getting TS errors surrounding the
message
object returned from
cy.mailosaurGetMessage
. I can't seem to tell TS that it's going to get an object. It seems hell bent on it being a
string | undefined
. Can anyone help me with this?
I should not that I followed both the video at the top of the page linked, as well as, the walkthrough below it. To no effect. I assume this is because it's all in vanilla JS.