Fix test and lint
This commit is contained in:
Родитель
e0c5c64cd6
Коммит
e38685b3a8
|
@ -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';
|
||||
|
|
Загрузка…
Ссылка в новой задаче