Open
Conversation
huluoyang
suggested changes
Aug 8, 2018
Contributor
There was a problem hiding this comment.
随着你的程序越来越复杂,你经常需要测试新增代码是否会破坏原先的功能。Chai 是一个 JavaScript 测试库,它可以帮助你检查程序在更新后是否如你所期望的运行。通过Chai,你可以用测试驱动开发的方式来编写代码。
Contributor
There was a problem hiding this comment.
你的应用的主页 => 应用的主页
一句话2个的,你懂的。
S1ngS1ng
suggested changes
Aug 8, 2018
Contributor
There was a problem hiding this comment.
Contributor
There was a problem hiding this comment.
| ".equal(), .notEqual()", | ||
| ".equal() compares objects using '=='" | ||
| "再次提醒,本项目基于初始项目 <a href='https://glitch.com/#!/import/github/freeCodeCamp/boilerplate-mochachai/'>Glitch</a>,或从 <a href='https://github.com/freeCodeCamp/boilerplate-mochachai/'>GitHub</a> clone。", | ||
| ".equal(),.notEqual()", |
Contributor
| "tests": [ | ||
| { | ||
| "text": "All tests should pass", | ||
| "text": "需通过全部测试", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


No description provided.