mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from vscode 718331d6f3ebd1b571530ab499edb266ddd493d5
This commit is contained in:
@@ -11,18 +11,14 @@ const suite = 'Smoke Tests';
|
||||
|
||||
const [, , ...args] = process.argv;
|
||||
const opts = minimist(args, {
|
||||
string: [
|
||||
'f'
|
||||
]
|
||||
string: ['f', 'g']
|
||||
});
|
||||
|
||||
const options = {
|
||||
useColors: true,
|
||||
//{{SQL CARBON EDIT}}
|
||||
timeout: 60000 * 2,
|
||||
//{{END}}
|
||||
color: true,
|
||||
timeout: 60000,
|
||||
slow: 30000,
|
||||
grep: opts['f']
|
||||
grep: opts['f'] || opts['g']
|
||||
};
|
||||
|
||||
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
||||
@@ -38,4 +34,4 @@ if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
||||
|
||||
const mocha = new Mocha(options);
|
||||
mocha.addFile('out/main.js');
|
||||
mocha.run(failures => process.exit(failures ? -1 : 0));
|
||||
mocha.run(failures => process.exit(failures ? -1 : 0));
|
||||
|
||||
Reference in New Issue
Block a user