Skip to content

Commit

Permalink
chore(html-editor): fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
kdinev committed Nov 4, 2024
1 parent 787ce06 commit 6f906b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ QUnit.module("igHTMLEditor unit tests", {
htmlEditor.data("igHtmlEditor")._selectionWrapperSaved.execCommand("insertunorderedlist", null);
htmlEditor.data("igHtmlEditor")._selectionWrapperSaved.execCommand("bold", null);

self.assert.equal(htmlEditor.igHtmlEditor("getContent", "html"), '<i style=\"font-weight: bold;\">Some content</i><br>', "Content remains the same");
self.assert.equal(htmlEditor.igHtmlEditor("getContent", "html"), '<i style=\"font-weight: bold;\">Some content</i>', "Content remains the same");
return $.ig.TestUtil.wait(300);
}).then(function () {
htmlEditor.igHtmlEditor("setContent", "<div id='div1'>Some content1<div>Some content2<div>Some content3<div><div><div>", "html");
Expand Down

0 comments on commit 6f906b2

Please sign in to comment.