@@ -82,8 +82,6 @@ describe('loadArtifacts', () => {
8282 expect ( executeProcessSpy ) . not . toHaveBeenCalled ( ) ;
8383 expect ( readJsonFileSpy ) . toHaveBeenCalledTimes ( 1 ) ;
8484 expect ( readJsonFileSpy ) . toHaveBeenNthCalledWith ( 1 , artifactsPaths . at ( 0 ) ) ;
85-
86- expect ( ui ( ) ) . not . toHaveLogged ( 'log' , expect . stringMatching ( / ^ \$ / ) ) ;
8785 } ) ;
8886
8987 it ( 'should load multiple artifacts without generateArtifactsCommand' , async ( ) => {
@@ -103,7 +101,6 @@ describe('loadArtifacts', () => {
103101 expect ( readJsonFileSpy ) . toHaveBeenNthCalledWith ( 1 , artifactsPaths . at ( 0 ) ) ;
104102 expect ( readJsonFileSpy ) . toHaveBeenNthCalledWith ( 2 , artifactsPaths . at ( 1 ) ) ;
105103 expect ( executeProcessSpy ) . not . toHaveBeenCalled ( ) ;
106- expect ( ui ( ) ) . not . toHaveLogged ( 'log' , expect . stringMatching ( / ^ \$ / ) ) ;
107104 } ) ;
108105
109106 it ( 'should load artifacts with generateArtifactsCommand as string' , async ( ) => {
@@ -125,7 +122,6 @@ describe('loadArtifacts', () => {
125122 } ) ;
126123 expect ( globSpy ) . toHaveBeenCalledTimes ( 1 ) ;
127124 expect ( globSpy ) . toHaveBeenCalledWith ( artifactsPaths ) ;
128- expect ( ui ( ) ) . toHaveLogged ( 'log' , `$ ${ generateArtifactsCommand } ` ) ;
129125 } ) ;
130126
131127 it ( 'should load artifacts with generateArtifactsCommand as object' , async ( ) => {
@@ -149,9 +145,5 @@ describe('loadArtifacts', () => {
149145 } ) ;
150146 expect ( globSpy ) . toHaveBeenCalledTimes ( 1 ) ;
151147 expect ( globSpy ) . toHaveBeenCalledWith ( artifactsPaths ) ;
152- expect ( ui ( ) ) . toHaveLogged (
153- 'log' ,
154- '$ nx run-many -t lint --parallel --max-parallel=5' ,
155- ) ;
156148 } ) ;
157149} ) ;
0 commit comments