This commit is contained in:
Rob Lourens 2017-12-11 22:31:18 -08:00
Родитель e0c5c64cd6
Коммит e38685b3a8
2 изменённых файлов: 2 добавлений и 4 удалений

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

@ -89,7 +89,7 @@ suite('ChromeDebugAdapter', () => {
function spawn(chromePath: string, args: string[]): any {
assert(chromePath.toLowerCase().indexOf('chrome') >= 0);
assert(args.indexOf('--remote-debugging-port=9222') >= 0);
assert(args.indexOf('about:blank') >= 0); // We now launch to about:blank first and then redirect later
assert(args.indexOf('file:///c:/path%20with%20space/index.html') >= 0);
assert(args.indexOf('abc') >= 0);
assert(args.indexOf('def') >= 0);
spawnCalled = true;

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

@ -3,11 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as assert from 'assert';
import * as path from 'path';
const {createServer} = require('http-server');
import { createServer } from 'http-server';
import {DebugClient} from 'vscode-debugadapter-testsupport';
import * as ts from 'vscode-chrome-debug-core-testsupport';
import * as testSetup from './testSetup';