From f752888d9168431daa5d8f63a1993252b88d2dd3 Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Mon, 17 Jan 2022 18:09:35 +0100 Subject: Fix contactmenu tests Signed-off-by: Louis Chemineau --- core/js/tests/specs/jquery.contactsmenuSpec.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'core') diff --git a/core/js/tests/specs/jquery.contactsmenuSpec.js b/core/js/tests/specs/jquery.contactsmenuSpec.js index d0bd9c8dde4..fb2514eb0de 100644 --- a/core/js/tests/specs/jquery.contactsmenuSpec.js +++ b/core/js/tests/specs/jquery.contactsmenuSpec.js @@ -124,7 +124,7 @@ describe('jquery.contactsMenu tests', function() { $selector1.on('load', function() { // FIXME: don't compare HTML one to one but check specific text in the output - expect($appendTo.html().replace(/[\r\n\t]?(\ \ +)?/g, '')).toEqual(''); + expect($appendTo.html().replace(/[\r\n\t]?(\ \ +)?/g, '')).toEqual(''); done(); }); @@ -156,7 +156,7 @@ describe('jquery.contactsMenu tests', function() { $selector1.on('load', function() { // FIXME: don't compare HTML one to one but check specific text in the output - expect($appendTo.html().replace(/[\r\n\t]?(\ \ +)?/g, '')).toEqual(''); + expect($appendTo.html().replace(/[\r\n\t]?(\ \ +)?/g, '')).toEqual(''); done(); }); @@ -181,7 +181,7 @@ describe('jquery.contactsMenu tests', function() { $selector1.on('load', function() { // FIXME: don't compare HTML one to one but check specific text in the output - expect($appendTo.html().replace(/[\r\n\t]?(\ \ +)?/g, '')).toEqual(''); + expect($appendTo.html().replace(/[\r\n\t]?(\ \ +)?/g, '')).toEqual(''); done(); }); @@ -201,7 +201,7 @@ describe('jquery.contactsMenu tests', function() { $selector1.on('loaderror', function() { // FIXME: don't compare HTML one to one but check specific text in the output - expect($appendTo.html().replace(/[\r\n\t]?(\ \ +)?/g, '')).toEqual(''); + expect($appendTo.html().replace(/[\r\n\t]?(\ \ +)?/g, '')).toEqual(''); done(); }); @@ -221,7 +221,7 @@ describe('jquery.contactsMenu tests', function() { $selector1.on('loaderror', function() { // FIXME: don't compare HTML one to one but check specific text in the output - expect($appendTo.html().replace(/[\r\n\t]?(\ \ +)?/g, '')).toEqual(''); + expect($appendTo.html().replace(/[\r\n\t]?(\ \ +)?/g, '')).toEqual(''); done(); }); -- cgit v1.2.3