提交 8f4075f5 编写于 作者: I isidor

debug smoke: continue

上级 77bf47f1
......@@ -63,6 +63,12 @@ describe('Debug', () => {
await app.workbench.debug.waitForStackFrame(sf => sf.name === 'index.js' && sf.lineNumber === 7);
});
it('continue', async function () {
await app.workbench.debug.continue();
setTimeout(() => http.get('http://localhost:3000').on('error', e => void 0), 200);
await app.workbench.debug.waitForStackFrame(sf => sf.name === 'index.js' && sf.lineNumber === 6);
});
it('debug console', async function () {
const result = await app.workbench.debug.console('2 + 2 \n', 'number');
assert.equal(result, '4');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册