From 2b96a961e3bb70cf574c9248eda16f460809e571 Mon Sep 17 00:00:00 2001 From: Luiza Pagliari Date: Mon, 20 Feb 2017 06:14:27 -0300 Subject: [PATCH] [fix] Remove extra whitespace on helper tests for IE --- tests/frontend/specs/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/frontend/specs/helper.js b/tests/frontend/specs/helper.js index 863f7a92c..8520769aa 100644 --- a/tests/frontend/specs/helper.js +++ b/tests/frontend/specs/helper.js @@ -103,7 +103,7 @@ describe("the test helper", function(){ return text // 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 - .replace(/\n/gi, " ") + .replace(/\n/gi, "") .replace(/\s/gi, " "); }