File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -138,20 +138,24 @@ describe('HeaderButtonsProvider renders', () => {
138
138
console . log ( `stdout: ${ ls . stdout . toString ( ) } ` ) ;
139
139
140
140
const cwd = process . cwd ( ) ;
141
- console . log ( { cwd } ) ;
142
141
const examplePath = `${ cwd } /example/` ;
142
+ console . log ( { cwd, examplePath } ) ;
143
143
child_process . execSync (
144
144
`cd ${ examplePath } && yarn requires-ios && yarn requires-android`
145
145
) ;
146
146
ls = spawnSync ( 'ls' , [ '-a' , 'example' ] ) ;
147
147
148
148
console . log ( `stderr: ${ ls . stderr . toString ( ) } ` ) ;
149
149
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 ( ) } ` ) ;
150
153
// Read the output from the file
151
154
const outputIos = fs . readFileSync (
152
155
path . join ( examplePath , `requires-ios.txt` ) ,
153
156
'utf8'
154
157
) ;
158
+ console . log ( { outputIos } ) ;
155
159
const outputAndroid = fs . readFileSync (
156
160
path . join ( examplePath , `requires-android.txt` ) ,
157
161
'utf8'
You can’t perform that action at this time.
0 commit comments