Potentially fixes the test percentage (#11974)

* Potentially fixes the test percentage

* PR feedback
This commit is contained in:
Amir Omidi
2020-08-26 14:44:32 -07:00
committed by GitHub
parent 2f94307635
commit 5a301f9073
3 changed files with 8 additions and 6 deletions

View File

@@ -5,7 +5,6 @@
import MainController from '../../controllers/mainController';
import { ImportTestUtils, TestExtensionContext } from '../utils.test';
import * as should from 'should';
describe('Main Controller', function () {
let testExtensionContext: TestExtensionContext;
@@ -16,7 +15,7 @@ describe('Main Controller', function () {
it('Extension activates successfully', async function () {
let mainController = new MainController(testExtensionContext);
should.doesNotThrow(() => mainController.activate());
await mainController.activate().should.not.be.rejected();
});
});