build: upgrade @angular/cli in cli-hello-world integration test (#26869)

PR Close #26869
This commit is contained in:
George Kalpakas
2018-10-31 17:25:57 +02:00
committed by Kara Erickson
parent c40677a4f5
commit 387db75003
4 changed files with 2216 additions and 798 deletions

View File

@ -10,10 +10,11 @@ To test Angular CLI applications, we use the integration test `cli-hello-world`.
When a significant change is released in the CLI, the application should be updated with `ng update`:
```bash
$ cd integration
$ ng update
# ng build
# ng test
$ cd integration/cli-hello-world
$ yarn install
$ yarn ng update @angular/cli @angular-devkit/build-angular
# yarn build
# yarn test
# typescript version
```
@ -36,7 +37,7 @@ The API for each test is:
This means that the test should be started by test script, like
```
'scripts' { 'test': 'runProgramA && assertResultIsGood' }
"scripts": {"test": "runProgramA && assertResultIsGood"}
```
Note that the `package.json` file uses a special `file://../../dist` scheme