fix unit tests after merge from master, issues due to newly async tests that cause environment changes across test scripts

This commit is contained in:
El RIDO 2018-09-02 11:33:27 +02:00
parent b191e2c437
commit b791157717
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
3 changed files with 20 additions and 12 deletions

View file

@ -56,7 +56,7 @@ var a2zString = ['a','b','c','d','e','f','g','h','i','j','k','l','m',
mimeLine = '';
// redirect console messages to log file
console.info = console.warn = function () {
console.info = console.warn = console.error = function () {
logFile.write(Array.prototype.slice.call(arguments).join('') + '\n');
};