File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
tests/legacy-cli/e2e/tests/commands/add Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1- import { expectFileNotToExist , expectFileToExist , rimraf } from '../../../utils/fs' ;
1+ import { expectFileNotToExist , expectFileToExist } from '../../../utils/fs' ;
22import { getActivePackageManager , installWorkspacePackages } from '../../../utils/packages' ;
33import { git , ng } from '../../../utils/process' ;
44import { createNpmConfigForAuthentication } from '../../../utils/registry' ;
55import { expectToFail } from '../../../utils/utils' ;
66
77export 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
1112 delete process . env [ 'NPM_CONFIG_REGISTRY' ] ;
1213 const packageManager = getActivePackageManager ( ) ;
13- const supportsUnscopedAuth = packageManager !== 'bun' && packageManager !== 'npm ';
14+ const supportsUnscopedAuth = packageManager === 'yarn ';
1415 const command = [ 'add' , '@angular/pwa' , '--skip-confirmation' ] ;
1516
1617 await expectFileNotToExist ( 'public/manifest.webmanifest' ) ;
You can’t perform that action at this time.
0 commit comments