-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable mocha-clean in egg-bin test #1010
Comments
interesting~ |
研究了下,不能直接用它,浏览器方面的支持我们不需要,还有它对 npminstall 的判断不支持,可以自己在 egg-bin test 里面处理下,我搞搞。 |
如果格式化的话,就无法做到通过点击链接打开文件了吧~ |
可以的,本来输出就是不带绝对路径的,转换后,我们反而可以变为绝对路径。但相对路径应该就够了。 |
@okoala 打开文件是少数情况,看到常常的日志是多数情况,其实复制一下就可以了 |
landed at 3.5.0 其实 mocha 内部已经有这段逻辑了, https://github.com/mochajs/mocha/blob/master/lib/utils.js#L738 只是它过滤的不够,还有对我们的 tnpm 的安装格式支持不好。 |
@okoala 可以点击的。 |
👍 |
点击是怎样做到的? |
oh-my-zsh 下按下 CMD 键,鼠标悬浮链接上就可以了。 |
mocha-clean : Cleans up mocha test stack traces.
cc @huacnlee
The text was updated successfully, but these errors were encountered: