(p: ITestHandle, cb?: (threadId: string) => Promise<void>)
| 14 | |
| 15 | describe('react', () => { |
| 16 | async function waitForPause(p: ITestHandle, cb?: (threadId: string) => Promise<void>) { |
| 17 | const { threadId } = p.log(await p.dap.once('stopped')); |
| 18 | await p.logger.logStackTrace(threadId); |
| 19 | if (cb) await cb(threadId); |
| 20 | return p.dap.continue({ threadId }); |
| 21 | } |
| 22 | |
| 23 | const projectName = 'react-test'; |
| 24 | let projectFolder: string; |
no test coverage detected