mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-05-31 18:51:14 +08:00
docs(tutorial): improve instructions for causing test failure (step 2)
Increase readability for test fail line Closes #6943
This commit is contained in:
@@ -241,7 +241,7 @@ To run the tests, and then watch the files for changes: `npm test`.
|
||||
<tr ng-repeat="i in [0, 1, 2, 3, 4, 5, 6, 7]"><td>{{i+1}}</td></tr>
|
||||
</table>
|
||||
|
||||
* Make the unit test fail by changing the `toBe(3)` statement to `toBe(4)`.
|
||||
* Make the unit test fail by changing `expect(scope.phones.length).toBe(3)` to instead use `toBe(4)`.
|
||||
|
||||
|
||||
# Summary
|
||||
|
||||
Reference in New Issue
Block a user