Skip to content

Commit b260a74

Browse files
clydindgp1130
authored andcommitted
test: ensure update tests update to 8.x
1 parent aac5693 commit b260a74

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/legacy-cli/e2e/tests/update/update-1.0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default async function() {
1313
await ng('update', '@angular/cli');
1414
await useBuiltPackages();
1515
await silentNpm('install');
16-
await ng('update', '@angular/core', ...extraUpdateArgs);
16+
await ng('update', '@angular/core@8', ...extraUpdateArgs);
1717
await useCIDefaults('one-oh-project');
1818
await ng('generate', 'component', 'my-comp');
1919
await ng('test', '--watch=false');

tests/legacy-cli/e2e/tests/update/update-1.7-longhand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export default async function() {
1212
await ng('update', '@angular/cli', '--migrate-only', '--from=1.7.1');
1313
await useBuiltPackages();
1414
await silentNpm('install');
15-
await ng('update', '@angular/core', ...extraUpdateArgs);
15+
await ng('update', '@angular/core@8', ...extraUpdateArgs);
1616
await ng('build');
1717
}

tests/legacy-cli/e2e/tests/update/update-1.7.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default async function() {
1515
await ng('update', '@angular/cli');
1616
await useBuiltPackages();
1717
await silentNpm('install');
18-
await ng('update', '@angular/core', ...extraUpdateArgs);
18+
await ng('update', '@angular/core@8', ...extraUpdateArgs);
1919
await useCIDefaults('latest-project');
2020
await ng('generate', 'component', 'my-comp');
2121
await ng('test', '--watch=false');

tests/legacy-cli/e2e/tests/update/update-7.0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default async function() {
4444
await silentNpm('install');
4545

4646
// Update Angular.
47-
await ng('update', '@angular/core', ...extraUpdateArgs);
47+
await ng('update', '@angular/core@8', ...extraUpdateArgs);
4848

4949
// Run CLI commands.
5050
await ng('generate', 'component', 'my-comp');

0 commit comments

Comments
 (0)