Skip to content

Commit e8824b0

Browse files
alan-agius4dgp1130
authored andcommitted
test(@angular/cli): update the update test to address node.js incompatability failures
1 parent 2fbeb04 commit e8824b0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export default async function () {
1313
await setRegistry(false);
1414
await installWorkspacePackages();
1515

16+
process.env['NG_DISABLE_VERSION_CHECK'] = '1';
17+
1618
// Update Angular to 10
1719
await installPackage('@angular/cli@9');
1820
const { stdout } = await ng('update', '@angular/[email protected]', '@angular/[email protected]');
@@ -23,6 +25,8 @@ export default async function () {
2325
// Update Angular to 11
2426
await ng('update', '@angular/cli@11', '@angular/core@11');
2527

28+
delete process.env['NG_DISABLE_VERSION_CHECK'];
29+
2630
// Update Angular to 12
2731
await ng('update', '@angular/cli@12', '@angular/core@12');
2832
} finally {

0 commit comments

Comments
 (0)