在调用comp.detach()后. jest测试框架 的test函数无效. 报错:NotFoundError: The node to be removed is not a child of this node.
Closed this issue · 4 comments
missannil commented
missannil commented
如何测试detached后运行的代码正确性?
是否可以在detach函数中加入回调函数等方法来处理这个问题。当前只要调用了comp.detach。jest直接报错了,后续代码无意义了。
missannil commented
JuneAndGreen commented
missannil commented






