Add dependencies required for tests (#7450)

* Add the dependencies

* options -> testOptions

* tabs vs spaces

* dacpac
This commit is contained in:
Amir Omidi
2019-10-01 15:48:36 -07:00
committed by GitHub
parent ee98ce5c18
commit b708b4a42b
16 changed files with 2553 additions and 5831 deletions

View File

@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
const path = require('path');
import * as testRunner from 'vscodetestcover';
const testRunner = require('vscode/lib/testrunner');
const suite = 'DacFx Tests';
@@ -14,9 +14,9 @@ const testOptions: any = {
timeout: 60000
};
const coverageConfig: any = {
coverConfig: '../../coverageConfig.json'
};
// const coverageConfig: any = {
// coverConfig: '../../coverageConfig.json'
// };
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
testOptions.reporter = 'mocha-multi-reporters';
@@ -29,6 +29,6 @@ if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
};
}
testRunner.configure(testOptions, coverageConfig);
testRunner.configure(testOptions);
export = testRunner;
export = testRunner;