File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -138,20 +138,24 @@ describe('HeaderButtonsProvider renders', () => {
138138 console . log ( `stdout: ${ ls . stdout . toString ( ) } ` ) ;
139139
140140 const cwd = process . cwd ( ) ;
141- console . log ( { cwd } ) ;
142141 const examplePath = `${ cwd } /example/` ;
142+ console . log ( { cwd, examplePath } ) ;
143143 child_process . execSync (
144144 `cd ${ examplePath } && yarn requires-ios && yarn requires-android`
145145 ) ;
146146 ls = spawnSync ( 'ls' , [ '-a' , 'example' ] ) ;
147147
148148 console . log ( `stderr: ${ ls . stderr . toString ( ) } ` ) ;
149149 console . log ( `stdout: ${ ls . stdout . toString ( ) } ` ) ;
150+ const more = spawnSync ( 'less' , [ 'example/requires-ios.txt' ] ) ;
151+ console . log ( `stderr: ${ more . stderr . toString ( ) } ` ) ;
152+ console . log ( `stdout: ${ more . stdout . toString ( ) } ` ) ;
150153 // Read the output from the file
151154 const outputIos = fs . readFileSync (
152155 path . join ( examplePath , `requires-ios.txt` ) ,
153156 'utf8'
154157 ) ;
158+ console . log ( { outputIos } ) ;
155159 const outputAndroid = fs . readFileSync (
156160 path . join ( examplePath , `requires-android.txt` ) ,
157161 'utf8'
You can’t perform that action at this time.
0 commit comments