https://cypress.io logo
After importing a package, I got an error message
# i-need-help
e
What if you add this to your test?
Copy code
Cypress.on('uncaught:exception', (err, runnable) => {
    // returning false here prevents Cypress from
    // failing the test
    return false
})
b
That would applicable if the uncaught:exception was coming from the app code. OPs issue is with their test code. OP do you have a link to the zephyr-scale-api repo?
m
have u tried using backticks instead of double quotes?
original
`
this is backtick -> `
aka console button
i
where should i use backticks?
https://www.npmjs.com/package/zephyr-scale-api, the github repo is not found..
m
The backtick original backtick
With original
original
i
i got the same error
m
Got it, idk the problem is. Goodluck
i
did not work for me, still getting the same error
4 Views