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

docs(unittest): add bootstrap usage #1278

Merged
merged 5 commits into from Aug 2, 2017
Merged

docs(unittest): add bootstrap usage #1278

merged 5 commits into from Aug 2, 2017

Conversation

dead-horse
Copy link
Member

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

@@ -257,29 +268,32 @@ describe('egg test', () => {

## 异步测试

egg-bin 会自动加载 thunk-mocha 插件测试异步调用,它支持多种写法,比如上面启动完成,`app.ready()` 返回一个 Promise
egg-bin 会自动加载 thunk-mocha 插件测试异步调用,它支持多种写法,比如上面 `app.httpRequest` 方法支持返回 Promise
Copy link
Member

Choose a reason for hiding this comment

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

co-mocha 顺便改下

@codecov
Copy link

codecov bot commented Aug 2, 2017

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1278   +/-   ##
=======================================
  Coverage   99.71%   99.71%           
=======================================
  Files          29       29           
  Lines         711      711           
=======================================
  Hits          709      709           
  Misses          2        2

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 ebbbcd5...b6cd3d5. Read the comment docs.

@dead-horse dead-horse merged commit 734854c into master Aug 2, 2017
@dead-horse dead-horse deleted the docs-test-bootstrap branch August 2, 2017 15:01
popomore pushed a commit that referenced this pull request Aug 2, 2017
docs(unittest): add bootstrap usage (#1278)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants