-
Notifications
You must be signed in to change notification settings - Fork 55
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
fix: convert unhandled rejection to uncaught exception (#235) #236
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@killagu lint 修复一下就好了。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Mocha do not catch unhandled rejection by default. Case will faield until timeout. set `--unhandled-rejections` to strict, let case fail fast.
1de71ee
to
489afd8
Compare
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## 5.x #236 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 12 12
Lines 93 93
Branches 16 16
=========================================
Hits 93 93 ☔ View full report in Codecov by Sentry. |
Mocha do not catch unhandled rejection by default. Case will faield until timeout. set
--unhandled-rejections
to strict, let case fail fast.Checklist
npm test
passesAffected core subsystem(s)
Description of change