Mocha tests timing out after 1ms



I’m running several asynchronous integration tests from the Mocha API (basically just a bunch of addFile() calls), and Mocha is throwing

Error: Timeout of 1ms exceeded. For async tests and hooks, ensure “done()” is called; if returning a Promise, ensure it resolves.

The tests are working perfectly when I debug with SSH and re-run them, and they work fine on my development environment. Does CircleCI somehow force Mocha to limit its tests? I can post my .circleci/config.yml or any additional information if needed. Any help is greatly appreciated!


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.