From 199c5d8eeb33eb3493183cfc1c88d8aa1b7a5756 Mon Sep 17 00:00:00 2001 From: Pine Wu Date: Wed, 25 Sep 2019 12:20:23 -0700 Subject: [PATCH] Update test sample --- helloworld-test-sample/src/test/suite/extension.test.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/helloworld-test-sample/src/test/suite/extension.test.ts b/helloworld-test-sample/src/test/suite/extension.test.ts index af4e9eb2..e3d51719 100644 --- a/helloworld-test-sample/src/test/suite/extension.test.ts +++ b/helloworld-test-sample/src/test/suite/extension.test.ts @@ -1,5 +1,4 @@ import * as assert from 'assert'; -import { before } from 'mocha'; // You can import and use all API from the 'vscode' module // as well as import your extension to test it @@ -7,9 +6,7 @@ import * as vscode from 'vscode'; // import * as myExtension from '../extension'; suite('Extension Test Suite', () => { - before(() => { - vscode.window.showInformationMessage('Start all tests.'); - }); + vscode.window.showInformationMessage('Start all tests.'); test('Sample test', () => { assert.equal([1, 2, 3].indexOf(5), -1);