We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d34225c commit a29e85dCopy full SHA for a29e85d
dev-packages/node-overhead-gh-action/lib/getOverheadMeasurements.mjs
@@ -15,14 +15,19 @@ async function getMeasurements(instrumentFile) {
15
16
const appProcess = spawn(cmd, { shell: true });
17
18
+ log('Child process started, waiting for example app...');
19
+
20
await new Promise(resolve => {
21
appProcess.stdout.on('data', data => {
- if (data.includes('Example app listening on port')) {
22
+ log(`appProcess: ${data}`);
23
+ if (`${data}`.includes('Example app listening on port')) {
24
resolve();
25
}
26
});
27
28
29
+ log('Example app listening, running autocannon...');
30
31
const autocannon = spawn('yarn test', {
32
shell: true,
33
0 commit comments