Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 ember 模型有几个 qunit 测试。
当我尝试保存我的模型时,它会引发
Assertion Failed: calling set on destroyed object
当我运行它时this.subject().get('isDestroyed'),它返回 true。
this.subject().get('isDestroyed')
这里发生了什么?
这最终为我解决了问题:https ://github.com/rwjblue/ember-qunit/issues/83#issuecomment-95990645