use nyc for coverage (#3652)

* use nyc for coverage

* removes unnecessary logss

* Disable RedisCacheAdapter tests when not in specific environment
This commit is contained in:
Florent Vilmart
2017-03-20 12:58:36 -04:00
committed by Arthur Cinader
parent eeb3a7028d
commit f3765e0b8e
10 changed files with 38 additions and 15 deletions

View File

@@ -419,6 +419,14 @@ global.describe_only_db = db => {
}
}
global.describe_only = (validator) =>{
if (validator()) {
return describe;
} else {
return xdescribe;
}
};
var libraryCache = {};
jasmine.mockLibrary = function(library, name, mock) {