如何解决ember 测试抛出错误 - 无法读取未定义的属性“tagName”
我已经将 ember 3.16 迁移到 3.24
我遇到了 ember 测试错误。但该应用程序运行良好
Chrome 88.0 - [17 ms] - Unit | Service | preferences: it exists --- actual: > null stack: > TypeError: Cannot read property 'tagName' of undefined at Class.setup (https://localhost:4221/assets/vendor.js:41026:134) at Class.setupEventDispatcher (https://localhost:4221/assets/vendor.js:42523:18) at Class._bootSync (https://localhost:4221/assets/vendor.js:42447:14) at https://localhost:4221/assets/vendor.js:45731:77 at initializePromise (https://localhost:4221/assets/vendor.js:74537:7) at new Promise (https://localhost:4221/assets/vendor.js:75038:35) at Class.boot (https://localhost:4221/assets/vendor.js:45731:27) at https://localhost:4221/assets/test-support.js:3656:65 at invokeCallback (https://localhost:4221/assets/vendor.js:74510:17) at https://localhost:4221/assets/vendor.js:74575:26 message: > Promise rejected before "it exists": Cannot read property 'tagName' of undefined negative: > false browser log:
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。