问题1 : For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves
报错: Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. My test code is, I have the done call back but still getting the error to call the done();
问题1 : For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves
报错: Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. My test code is, I have the done call back but still getting the error to call the done();
解决方案:
解决地址