diff --git a/package-lock.json b/package-lock.json index 7f4231e..e06294e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -495,12 +495,6 @@ "resolved": "https://registry.npmjs.org/@types/jest-diff/-/jest-diff-20.0.1.tgz", "integrity": "sha512-yALhelO3i0hqZwhjtcr6dYyaLoCHbAMshwtj6cGxTvHZAKXHsYGdff6E8EPw3xLKY0ELUTQ69Q1rQiJENnccMA==" }, - "@types/mocha": { - "version": "2.2.48", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-2.2.48.tgz", - "integrity": "sha512-nlK/iyETgafGli8Zh9zJVCTicvU3iajSkRwOh3Hhiva598CMqNJ4NcVCGMTGKpGpTYj/9R8RLzS9NAykSSCqGw==", - "dev": true - }, "@types/node": { "version": "10.14.7", "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.7.tgz", diff --git a/package.json b/package.json index 68dfce8..b2c2440 100644 --- a/package.json +++ b/package.json @@ -26,10 +26,9 @@ "compile": "tsc -p ./", "watch": "tsc -watch -p ./", "postinstall": "node ./node_modules/vscode/bin/install", - "test": "jest" + "test": "npm run compile && jest" }, "devDependencies": { - "@types/mocha": "^2.2.42", "@types/node": "^10.12.21", "jest": "^24.8.0", "tslint": "^5.12.1", diff --git a/test/extension.test.ts b/test/extension.test.ts index 27bf6db..a258aff 100644 --- a/test/extension.test.ts +++ b/test/extension.test.ts @@ -13,7 +13,7 @@ import { testFunction } from '../src/extension'; // import * as myExtension from '../extension'; // Defines a Mocha test suite to group tests of similar kind together -suite("Extension Tests", function () { +describe("Extension Tests", function () { // Defines a Mocha unit test test("Something 1", function() {