File tree Expand file tree Collapse file tree
tests/legacy-cli/e2e/tests/update Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,22 +16,13 @@ export default async function () {
1616 }
1717
1818 // Valid authentication token
19- await createNpmConfigForAuthentication ( false ) ;
20- const { stdout : stdout1 } = await ng ( 'update' , ...extraArgs ) ;
21- if ( ! stdout1 . includes ( worksMessage ) ) {
22- throw new Error ( `Expected stdout to contain "${ worksMessage } "` ) ;
23- }
24-
2519 await createNpmConfigForAuthentication ( true ) ;
2620 const { stdout : stdout2 } = await ng ( 'update' , ...extraArgs ) ;
2721 if ( ! stdout2 . includes ( worksMessage ) ) {
2822 throw new Error ( `Expected stdout to contain "${ worksMessage } "` ) ;
2923 }
3024
3125 // Invalid authentication token
32- await createNpmConfigForAuthentication ( false , true ) ;
33- await expectToFail ( ( ) => ng ( 'update' , ...extraArgs ) ) ;
34-
3526 await createNpmConfigForAuthentication ( true , true ) ;
3627 await expectToFail ( ( ) => ng ( 'update' , ...extraArgs ) ) ;
3728
You can’t perform that action at this time.
0 commit comments