Angular + Mocha memory leak

后端 未结 3 1855
失恋的感觉
失恋的感觉 2021-01-13 08:49

I\'m getting the following error when running the entire suite of tests:

timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.

3条回答
  •  清歌不尽
    2021-01-13 09:30

    Not sure but this could be related to the memory leak in Mocha that has been fixed recently. Make sure to update your local mocha to 2.4.5 or newer to get the fix and try running the test.

提交回复
热议问题