mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Enable datavirtualization tests (#22378)
* Enable datavirtualization tests * Remove unneeded
This commit is contained in:
@@ -3,26 +3,9 @@
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import * as IstanbulTestRunner from '@microsoft/vscodetestcover';
|
||||
let testRunner: any = IstanbulTestRunner;
|
||||
import { getDefaultMochaOptions } from '@microsoft/azdata-test';
|
||||
import * as testRunner from '@microsoft/vscodetestcover';
|
||||
|
||||
// You can directly control Mocha options by uncommenting the following lines
|
||||
// See https://github.com/mochajs/mocha/wiki/Using-mocha-programmatically#set-options for more info
|
||||
testRunner.configure(
|
||||
// Mocha Options
|
||||
{
|
||||
ui: 'bdd', // the TDD UI is being used in extension.test.ts (suite, test, etc.)
|
||||
reporter: 'pm-mocha-jenkins-reporter',
|
||||
reporterOptions: {
|
||||
junit_report_name: 'Extension Tests',
|
||||
junit_report_path: __dirname + '/../../test-reports/extension_tests.xml',
|
||||
junit_report_stack: 1
|
||||
},
|
||||
useColors: true // colored output from test results
|
||||
},
|
||||
// Coverage configuration options
|
||||
{
|
||||
coverConfig: '../../coverconfig.json'
|
||||
});
|
||||
testRunner.configure(getDefaultMochaOptions('Data Virtualization Extension Tests'), { coverConfig: '../../coverConfig.json' });
|
||||
|
||||
module.exports = testRunner;
|
||||
export = testRunner;
|
||||
|
||||
Reference in New Issue
Block a user