-
Notifications
You must be signed in to change notification settings - Fork 31
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: every it should has self ctx #150
Conversation
Codecov ReportBase: 82.88% // Head: 82.93% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #150 +/- ##
==========================================
+ Coverage 82.88% 82.93% +0.05%
==========================================
Files 27 27
Lines 2465 2514 +49
Branches 409 423 +14
==========================================
+ Hits 2043 2085 +42
- Misses 422 429 +7
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
} | ||
return next(i + 1); | ||
} | ||
next(0).catch(e => { |
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.
仿佛看到早期的 koa 代码。
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.
差一点就要 require('async')
了。
if (!test) { | ||
return done(); | ||
} | ||
suite.tests = [ test ]; |
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.
suite.tests 里面的都是并行执行的对吧,修改之前?
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.
也是通过 next 这样的方式来顺序执行的。
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.
[skip ci] ## [5.9.3](v5.9.2...v5.9.3) (2023-01-18) ### Bug Fixes * every it should has self ctx ([#150](#150)) ([bf33c1c](bf33c1c))
🎉 This PR is included in version 5.9.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Checklist
npm test
passesAffected core subsystem(s)
Description of change