For asynctests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
2)For asynctests and hooks, ensure "done()" is called; if returning a Promise, <em
after each" hook for "should succeed for correct nickname, move and gameID with game in progress":
Error: Timeout of 2000msexceeded.For asynctests and hooks, ensure "done()" is called; if
return User.authUser(data).should.be.rejected;如果错误为“无效密码”,则应该拒绝它,但我得到了错误:
Error: Timeout of 2000msexceeded.For asynctests and hooks, ensure "done()" is called; if returning a Promise, ensur
reject) => {}); it('should hang forever', function () { });我得到以下错误:
Error: Timeout of 2000msexceeded.For asynctests and hooks, ensure "done()" is called; if re
我对nodejs进行了这个测试,在测试时,我得到了一个未声明的done函数错误。
Error: Timeout of 2000msexceeded.For asynctests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.我的测试代码是,我已经完成了调用,但仍