@@ -82,8 +82,6 @@ describe('loadArtifacts', () => {
82
82
expect ( executeProcessSpy ) . not . toHaveBeenCalled ( ) ;
83
83
expect ( readJsonFileSpy ) . toHaveBeenCalledTimes ( 1 ) ;
84
84
expect ( readJsonFileSpy ) . toHaveBeenNthCalledWith ( 1 , artifactsPaths . at ( 0 ) ) ;
85
-
86
- expect ( ui ( ) ) . not . toHaveLogged ( 'log' , expect . stringMatching ( / ^ \$ / ) ) ;
87
85
} ) ;
88
86
89
87
it ( 'should load multiple artifacts without generateArtifactsCommand' , async ( ) => {
@@ -103,7 +101,6 @@ describe('loadArtifacts', () => {
103
101
expect ( readJsonFileSpy ) . toHaveBeenNthCalledWith ( 1 , artifactsPaths . at ( 0 ) ) ;
104
102
expect ( readJsonFileSpy ) . toHaveBeenNthCalledWith ( 2 , artifactsPaths . at ( 1 ) ) ;
105
103
expect ( executeProcessSpy ) . not . toHaveBeenCalled ( ) ;
106
- expect ( ui ( ) ) . not . toHaveLogged ( 'log' , expect . stringMatching ( / ^ \$ / ) ) ;
107
104
} ) ;
108
105
109
106
it ( 'should load artifacts with generateArtifactsCommand as string' , async ( ) => {
@@ -125,7 +122,6 @@ describe('loadArtifacts', () => {
125
122
} ) ;
126
123
expect ( globSpy ) . toHaveBeenCalledTimes ( 1 ) ;
127
124
expect ( globSpy ) . toHaveBeenCalledWith ( artifactsPaths ) ;
128
- expect ( ui ( ) ) . toHaveLogged ( 'log' , `$ ${ generateArtifactsCommand } ` ) ;
129
125
} ) ;
130
126
131
127
it ( 'should load artifacts with generateArtifactsCommand as object' , async ( ) => {
@@ -149,9 +145,5 @@ describe('loadArtifacts', () => {
149
145
} ) ;
150
146
expect ( globSpy ) . toHaveBeenCalledTimes ( 1 ) ;
151
147
expect ( globSpy ) . toHaveBeenCalledWith ( artifactsPaths ) ;
152
- expect ( ui ( ) ) . toHaveLogged (
153
- 'log' ,
154
- '$ nx run-many -t lint --parallel --max-parallel=5' ,
155
- ) ;
156
148
} ) ;
157
149
} ) ;
0 commit comments