@@ -26,21 +26,6 @@ describe('configurationGenerator', () => {
2626 tree . delete ( testProjectName ) ;
2727 } ) ;
2828
29- it ( 'should generate a project target and config file' , async ( ) => {
30- await configurationGenerator ( tree , {
31- project : testProjectName ,
32- } ) ;
33-
34- const projectConfiguration = readProjectConfiguration (
35- tree ,
36- testProjectName ,
37- ) ;
38-
39- expect ( projectConfiguration . targets ?. [ DEFAULT_TARGET_NAME ] ) . toEqual ( {
40- executor : `${ PACKAGE_NAME } :cli` ,
41- } ) ;
42- } ) ;
43-
4429 it ( 'should skip config creation if skipConfig is used' , async ( ) => {
4530 await configurationGenerator ( tree , {
4631 project : testProjectName ,
@@ -55,20 +40,6 @@ describe('configurationGenerator', () => {
5540 expect ( loggerInfoSpy ) . toHaveBeenCalledWith ( 'Skip config file creation' ) ;
5641 } ) ;
5742
58- it ( 'should skip target creation if skipTarget is used' , async ( ) => {
59- await configurationGenerator ( tree , {
60- project : testProjectName ,
61- skipTarget : true ,
62- } ) ;
63-
64- const projectConfiguration = readProjectConfiguration (
65- tree ,
66- testProjectName ,
67- ) ;
68- expect ( projectConfiguration . targets ) . toBeUndefined ( ) ;
69- expect ( loggerInfoSpy ) . toHaveBeenCalledWith ( 'Skip adding target to project' ) ;
70- } ) ;
71-
7243 it ( 'should skip formatting' , async ( ) => {
7344 await configurationGenerator ( tree , {
7445 project : testProjectName ,
0 commit comments