This commit is contained in:
Rob Lourens 2017-03-18 16:37:18 -07:00
Родитель ccdb6dd291
Коммит b496787530
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -52,7 +52,7 @@ suite('Chrome Debug Adapter etc', () => {
return Promise.all([
dc.configurationSequence(),
dc.launch({ file: launchFile, sourceMaps: false }),
dc.assertStoppedLocation('debugger statement', { path: breakFile, line: DEBUGGER_LINE } )
dc.assertStoppedLocation('debugger_statement', { path: breakFile, line: DEBUGGER_LINE } )
]);
});
@ -67,7 +67,7 @@ suite('Chrome Debug Adapter etc', () => {
return Promise.all([
dc.configurationSequence(),
dc.launch({ url: 'http://localhost:7890', webRoot: testProjectRoot }),
dc.assertStoppedLocation('debugger statement', { path: breakFile, line: DEBUGGER_LINE } )
dc.assertStoppedLocation('debugger_statement', { path: breakFile, line: DEBUGGER_LINE } )
])
.then(
() => server.close(),

Просмотреть файл

@ -44,7 +44,7 @@ suite('Stepping', () => {
// Skip the full B generated script via launch config
const bpLineA = 6;
const skipFiles = ['b.js'];
await ts.debugClient.hitBreakpoint(dc, { url, skipFiles, webRoot: testProjectRoot }, { path: sourceA, line: bpLineA, verified: false });
await ts.debugClient.hitBreakpoint(dc, { url, skipFiles, webRoot: testProjectRoot }, { path: sourceA, line: bpLineA });
// Step in, verify B sources are skipped
await dc.stepInRequest();