Skip to content
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

test: node 8 #976

Merged
merged 6 commits into from Jun 10, 2017
Merged

test: node 8 #976

merged 6 commits into from Jun 10, 2017

Conversation

fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Jun 1, 2017

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change

@mention-bot
Copy link

@fengmk2, thanks for your PR! By analyzing the history of the files in this pull request, we identified @popomore, @dead-horse and @atian25 to be potential reviewers.

@@ -72,7 +74,9 @@ describe('test/lib/plugins/security.test.js', () => {
});

it('should check csrf on other.json', () => {
return request(app.callback())
// use prod env to ignore extends properties like frames
mm(app.config, 'env', 'prod');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dead-horse 还是让 egg-onerror 保留那些信息吧,开发阶段有用

@popomore
Copy link
Member

popomore commented Jun 1, 2017

好几个库挂了,我修一下

@codecov
Copy link

codecov bot commented Jun 1, 2017

Codecov Report

Merging #976 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #976   +/-   ##
=======================================
  Coverage   98.37%   98.37%           
=======================================
  Files          28       28           
  Lines         675      675           
=======================================
  Hits          664      664           
  Misses         11       11

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b108a7...103cf57. Read the comment docs.

@popomore
Copy link
Member

popomore commented Jun 1, 2017

onerror 在 unittest 环境是不是不要返回 frame,不然应用也要改一堆

@dead-horse
Copy link
Member

onerror 在 unittest 环境是不是不要返回 frame,不然应用也要改一堆

+1, @okoala

@fengmk2
Copy link
Member Author

fengmk2 commented Jun 1, 2017

eggjs/egg-onerror#14 直接去掉 error detail

@dead-horse dead-horse merged commit 13b7c19 into master Jun 10, 2017
@dead-horse dead-horse deleted the node-8 branch June 10, 2017 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants