()
| 45 | } |
| 46 | |
| 47 | function runPreviewServer(): DeferredPromise<ChildProcess> { |
| 48 | return spawnAndWaitForStdout('pnpm', ['start:preview'], (stdout) => { |
| 49 | return stdout.includes('Server is now listening'); |
| 50 | }); |
| 51 | } |
| 52 | |
| 53 | function spawnAndWaitForStdout( |
| 54 | command: string, |
no test coverage detected