#6374·mocha

错误: --t 选项用于超时,在 mocha 12.0.1+ 中不起作用。在 mocha 11.7.5 和之前的版本中,此选项可以正常使用。

作者: sharadraju创建于 2026年9月22日更新于 2026年9月29日
标签type: bugstatus: in triage

With mocha 12.0.1 and beyond, when I run any test as `npx mocha test/<test1.js> --t 0`, I get an error: