mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Fix mocha issues (#7588)
* mocha invert boolean * Run integration test setup either way
This commit is contained in:
@@ -37,7 +37,8 @@ if (process.env.ADS_TEST_GREP) {
|
||||
console.log(`setting options.grep to: ${options.grep}`);
|
||||
}
|
||||
if (process.env.ADS_TEST_INVERT_GREP) {
|
||||
options.invert = parseInt(process.env.ADS_TEST_INVERT_GREP);
|
||||
const value = parseInt(process.env.ADS_TEST_INVERT_GREP);
|
||||
options.invert = Boolean(value);
|
||||
console.log(`setting options.invert to: ${options.invert}`);
|
||||
}
|
||||
if (process.env.ADS_TEST_TIMEOUT) {
|
||||
|
||||
@@ -10,8 +10,8 @@ fi
|
||||
|
||||
cd $ROOT
|
||||
|
||||
export ADS_TEST_GREP=@UNSTABLE@
|
||||
export ADS_TEST_INVERT_GREP=
|
||||
export ADS_TEST_GREP="(.*@UNSTABLE@|integration test setup)"
|
||||
export ADS_TEST_INVERT_GREP=0
|
||||
|
||||
echo Running UNSTABLE ADS Extension Integration tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user