alibaba / macaca

Automation solution for multi-platform. 多端自动化解决方案
https://macacajs.github.io
MIT License
3.17k stars 419 forks source link

Error: Timeout of 600000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. #977

Closed crrrrrrrrr closed 4 years ago

crrrrrrrrr commented 4 years ago

macaca-test/mobile-app-sample.test.js

1) "before all" hook

2) "after all" hook

0 passing (10m) 2 failing

1) macaca-test/mobile-app-sample.test.js "before all" hook: Error: Timeout of 600000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. at listOnTimeout (internal/timers.js:549:17) at processTimers (internal/timers.js:492:7)

xudafeng commented 4 years ago

参考 https://mochajs.org/#detects-multiple-calls-to-done

macaca-bot commented 4 years ago

This is the translated issue comment: @xudafeng


Reference https://mochajs.org/#detects-multiple-calls-to-done