From b9209192ba5fd54029d682a703eee2517f299b47 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Fri, 26 Jan 2018 15:50:26 -0800 Subject: [PATCH] tslint fixes in tests --- test/int/adapter.test.ts | 2 +- test/int/breakpoints.test.ts | 4 +--- test/int/stepping.test.ts | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/test/int/adapter.test.ts b/test/int/adapter.test.ts index f732d98a..70e3d129 100644 --- a/test/int/adapter.test.ts +++ b/test/int/adapter.test.ts @@ -5,7 +5,7 @@ import * as assert from 'assert'; import * as path from 'path'; -const {createServer} = require('http-server'); +import {createServer} from 'http-server'; import {ExtendedDebugClient} from 'vscode-chrome-debug-core-testsupport'; diff --git a/test/int/breakpoints.test.ts b/test/int/breakpoints.test.ts index 61192804..7902d533 100644 --- a/test/int/breakpoints.test.ts +++ b/test/int/breakpoints.test.ts @@ -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'; diff --git a/test/int/stepping.test.ts b/test/int/stepping.test.ts index 07d3f553..98e85c4f 100644 --- a/test/int/stepping.test.ts +++ b/test/int/stepping.test.ts @@ -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';