Skip to content

Commit 39bf118

Browse files
committed
chore: print
1 parent de13f86 commit 39bf118

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/overflowMenu/__tests__/OverflowMenuProvider.test.tsx

+5-1
Original file line numberDiff line numberDiff 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'

0 commit comments

Comments
 (0)