We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d6766c commit d91d6b7Copy full SHA for d91d6b7
spec/helper.js
@@ -428,14 +428,14 @@ global.it_exclude_dbs = excluded => {
428
}
429
};
430
431
-var testExclusionList = [];
+let testExclusionList = [];
432
try {
433
// Fetch test exclusion list
434
testExclusionList = require('./testExclusionList.json');
435
- console.log("testExclusionList.json Found")
+ console.log(`Using test exclusion list with ${testExclusionList.length} entries`);
436
} catch(error) {
437
- if(error.code === "MODULE_NOT_FOUND") {
438
- // Even though it says require, it's not. Don't fail
+ if(error.code !== 'MODULE_NOT_FOUND') {
+ throw error;
439
440
441
0 commit comments