mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-19 19:41:37 -04:00
Add datavirtualization extension (#21594)
* initial * cleanup * Add typings ref * fix compile * remove unused * add missing * another unused * Use newer vscodetestcover * newer dataprotocol * format * cleanup ignores * fix out path * fix entry point * more cleanup * Move into src folder * Handle service client log messages * remove unused
This commit is contained in:
28
extensions/datavirtualization/src/test/index.ts
Normal file
28
extensions/datavirtualization/src/test/index.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* 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;
|
||||
|
||||
// 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'
|
||||
});
|
||||
|
||||
module.exports = testRunner;
|
||||
Reference in New Issue
Block a user