File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
tests/e2e/tests/generate/library Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
- import { ng , silentNpm } from '../../../utils/process' ;
1
+ import { ng } from '../../../utils/process' ;
2
2
import { expectFileToMatch } from '../../../utils/fs' ;
3
3
import { useCIChrome } from '../../../utils/project' ;
4
4
5
5
export default function ( ) {
6
6
return ng ( 'generate' , 'library' , 'my-lib' )
7
7
. then ( ( ) => expectFileToMatch ( 'angular.json' , / \" m y - l i b \" : / ) )
8
8
. then ( ( ) => useCIChrome ( 'projects/my-lib' ) )
9
- . then ( ( ) => silentNpm ( 'install' ) )
10
9
. then ( ( ) => ng ( 'build' , 'my-lib' ) )
11
10
. then ( ( ) => ng ( 'test' , 'my-lib' , '--watch=false' ) ) ;
12
11
}
Original file line number Diff line number Diff line change 1
- import { ng , silentNpm } from '../../../utils/process' ;
1
+ import { ng } from '../../../utils/process' ;
2
2
import { writeFile } from '../../../utils/fs' ;
3
3
4
4
export default function ( ) {
5
5
return ng ( 'generate' , 'library' , 'my-lib' )
6
- . then ( ( ) => silentNpm ( 'install' ) )
7
6
. then ( ( ) => ng ( 'build' , 'my-lib' ) )
8
7
. then ( ( ) => writeFile ( './src/app/app.module.ts' , `
9
8
import { BrowserModule } from '@angular/platform-browser';
You can’t perform that action at this time.
0 commit comments