Skip to content

Commit bf2a27f

Browse files
alan-agius4filipesilva
authored andcommitted
test(@angular/cli): pin down @angular/core versions to 10.x.x
1 parent 23150ab commit bf2a27f

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@10', ...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@10', ...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@10', ...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
@@ -31,7 +31,7 @@ export default async function() {
3131

3232
// Update Angular.
3333
const extraUpdateArgs = (await isPrereleaseCli()) ? ['--next', '--force'] : [];
34-
await ng('update', '@angular/core', ...extraUpdateArgs);
34+
await ng('update', '@angular/core@10', ...extraUpdateArgs);
3535

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

0 commit comments

Comments
 (0)