Skip to content

Commit 25f1004

Browse files
committed
WIP
1 parent 33f2b02 commit 25f1004

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

tests/legacy-cli/e2e/tests/commands/add/add-pwa.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { updateJsonFile } from '../../../utils/project';
88
const snapshots = require('../../../ng-snapshot/package.json');
99

1010
export default async function () {
11+
process.env['NG_DEBUG'] = '1';
1112
// forcibly remove in case another test doesn't clean itself up
1213
await rimraf('node_modules/@angular/pwa');
1314
await ng('add', '@angular/pwa', '--skip-confirmation');

tests/legacy-cli/e2e/tests/commands/add/add-version.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { expectFileToExist, expectFileToMatch, rimraf } from '../../../utils/fs'
22
import { ng } from '../../../utils/process';
33

44
export default async function () {
5+
process.env['NG_DEBUG'] = '1';
56
await ng('add', '@angular-devkit-tests/ng-add-simple@^1.0.0', '--skip-confirmation');
67
await expectFileToMatch('package.json', /\/ng-add-simple.*\^1\.0\.0/);
78
await expectFileToExist('ng-add-test');

tests/legacy-cli/e2e/tests/commands/add/add.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { expectFileToExist, expectFileToMatch, rimraf } from '../../../utils/fs'
22
import { ng } from '../../../utils/process';
33

44
export default async function () {
5+
process.env['NG_DEBUG'] = '1';
56
await ng('add', '@angular-devkit-tests/ng-add-simple', '--skip-confirmation');
67
await expectFileToMatch('package.json', /@angular-devkit-tests\/ng-add-simple/);
78
await expectFileToExist('ng-add-test');

tests/legacy-cli/e2e/tests/commands/add/secure-registry.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { createNpmConfigForAuthentication } from '../../../utils/registry';
55
import { expectToFail } from '../../../utils/utils';
66

77
export default async function () {
8+
process.env['NG_DEBUG'] = '1';
89
const originalNpmConfigRegistry = process.env['NPM_CONFIG_REGISTRY'];
910
try {
1011
// The environment variable has priority over the .npmrc

0 commit comments

Comments
 (0)