app.workbench.debug.waitForStackFrame(sf=>sf.name==='index.js'&&sf.lineNumber===6,'looking for index.js and line 6').then(c,e);
app.workbench.debug.waitForStackFrame(sf=>/index\.js$/.test(sf.name)&&sf.lineNumber===6,'looking for index.js and line 6').then(c,e);
});
});
...
...
@@ -79,13 +79,13 @@ export function setup() {
awaitapp.workbench.debug.stepIn();
constfirst=awaitapp.workbench.debug.waitForStackFrame(sf=>sf.name==='response.js','looking for response.js');
constfirst=awaitapp.workbench.debug.waitForStackFrame(sf=>/response\.js$/.test(sf.name),'looking for response.js');
awaitapp.workbench.debug.stepOver();
awaitapp.workbench.debug.waitForStackFrame(sf=>sf.name==='response.js'&&sf.lineNumber===first.lineNumber+1,`looking for response.js and line ${first.lineNumber+1}`);
awaitapp.workbench.debug.waitForStackFrame(sf=>/response\.js$/.test(sf.name)&&sf.lineNumber===first.lineNumber+1,`looking for response.js and line ${first.lineNumber+1}`);
awaitapp.workbench.debug.stepOut();
awaitapp.workbench.debug.waitForStackFrame(sf=>sf.name==='index.js'&&sf.lineNumber===7,`looking for index.js and line 7`);
awaitapp.workbench.debug.waitForStackFrame(sf=>/index\.js$/.test(sf.name)&&sf.lineNumber===7,`looking for index.js and line 7`);