Skip to content

Commit 0e2c2e7

Browse files
filipesilvadevCrossNet
authored andcommitted
chore(readme): update unit test section (angular#985)
Close angular#980
1 parent df9aae6 commit 0e2c2e7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,9 @@ the `-prod` flag in either `ng build -prod` or `ng serve -prod`.
136136
ng test
137137
```
138138

139-
Tests will execute after a build is executed via [Karma](http://karma-runner.github.io/0.13/index.html)
139+
Tests will execute after a build is executed via [Karma](http://karma-runner.github.io/0.13/index.html), and it will automatically watch your files for changes.
140140

141-
If run with the watch argument `--watch` (shorthand `-w`) builds will run when source files have changed
142-
and tests will run after each successful build
141+
You can run tests a single time via `--watch=false`, and turn off building of the app via `--build=false` (useful for running it at the same time as `ng serve`).
143142

144143
**WARNING:** On Windows, `ng test` is hitting a file descriptor limit (see https://github.com/angular/angular-cli/issues/977).
145144
The solution for now is to instead run `ng serve` and `ng test --build=false` in separate console windows.

0 commit comments

Comments
 (0)