mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-28 03:16:16 -04:00
fix
This commit is contained in:
parent
545265bd80
commit
c4aada6de2
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ async function runTest(testSettings){
|
||||||
let testResult = knownConsoleText.substring(index).replace(/\[red\]/g,'\x1B[31m').replace(/\[yellow\]/g,'\x1B[33m')
|
let testResult = knownConsoleText.substring(index).replace(/\[red\]/g,'\x1B[31m').replace(/\[yellow\]/g,'\x1B[33m')
|
||||||
.replace(/\[green\]/g,'\x1B[32m').replace(/\[clear\]/g, '\x1B[39m');
|
.replace(/\[green\]/g,'\x1B[32m').replace(/\[clear\]/g, '\x1B[39m');
|
||||||
testResult = testResult.split("\\n").map(function(line){
|
testResult = testResult.split("\\n").map(function(line){
|
||||||
return "[" + testSettings.browserName + " " + testSettings.platform + (testSettings.version === "" ? '' : (" " + testSettings.version)) + "] " + line;
|
return "[" + testSettings.browserName + " " + testSettings.platformName + (testSettings.browserVersion === "" ? '' : (" " + testSettings.browserVersion)) + "] " + line;
|
||||||
}).join("\n");
|
}).join("\n");
|
||||||
|
|
||||||
console.log(testResult);
|
console.log(testResult);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue