尝试在 Cypress 中运行测试时出现此错误。有人可以帮我解决这个问题吗?
这是我的 index.js
// Import commands.js using ES2015 syntax:
import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')
Cypress.on('uncaught:exception', (err, runnable) => {
// returning false here prevents Cypress from
// failing the test
return false
})