[fix] Remove extra whitespace on helper tests for IE
This commit is contained in:
parent
15cda0fde6
commit
2b96a961e3
@ -103,7 +103,7 @@ describe("the test helper", function(){
|
|||||||
return text
|
return text
|
||||||
// IE replaces line breaks with a whitespace, so we need to unify its behavior
|
// IE replaces line breaks with a whitespace, so we need to unify its behavior
|
||||||
// for other browsers, to have all tests running for all browsers
|
// for other browsers, to have all tests running for all browsers
|
||||||
.replace(/\n/gi, " ")
|
.replace(/\n/gi, "")
|
||||||
.replace(/\s/gi, " ");
|
.replace(/\s/gi, " ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user