-
-
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
feat: add getLogger to app and ctx #136
Conversation
@popomore, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fengmk2 and @dead-horse to be potential reviewers. |
看来 eslint break 了 eslint/eslint#7403 |
c2ec69a
to
8d2ceb2
Compare
Current coverage is 95.69% (diff: 100%)@@ master #136 diff @@
==========================================
Files 33 33
Lines 832 836 +4
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 796 800 +4
Misses 36 36
Partials 0 0
|
bb0743e
to
8a36b84
Compare
+1 |
rebase 一下 |
把 circle ci 关了? |
circle 关了 |
@@ -45,6 +45,7 @@ exports.startLocalServer = () => { | |||
}); | |||
}); | |||
}; | |||
process.once('exit', () => localServer.close()); |
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.
好吧,mocha 好像不管是否还有 server,都是自己退出的。
@@ -5,7 +5,7 @@ const urllib = require('../../../lib/core/urllib'); | |||
|
|||
describe('test/lib/core/urllib.test.js', () => { | |||
let client; | |||
const url = 'https://a.alipayobjects.com/aliBridge/1.0.0/aliBridge.min.js'; | |||
const url = 'http://www.google.com/generate_204'; |
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.
改成 localServer 的吧,要不然本地运行这个 ci google 别墙,跑不过。
it can be override with custom function Closes #36
改了 |
+1 |
Checklist
npm test
passesAffected core subsystem(s)
app and ctx
Description of change
it can be override with custom function
Closes #36