Skip to content

Commit 579a75b

Browse files
committed
Attempt to debug maestro
1 parent 4415881 commit 579a75b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

samples/react-native/e2e/utils/maestro.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ export const maestro = async (test: string) => {
1414
stdio: 'inherit',
1515
});
1616

17+
process.stdout?.on('data', function(data) {
18+
console.log('stdout: ' + data);
19+
})
20+
21+
process.stderr?.on('data', function(data) {
22+
console.log('stderr: ' + data);
23+
})
24+
1725
process.on('close', code => {
1826
if (code !== 0) {
1927
reject(`Maestro test failed with code ${code}. See logs above.`);

0 commit comments

Comments
 (0)