Fix int tests
This commit is contained in:
Родитель
ccdb6dd291
Коммит
b496787530
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче