Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
giabao committed Apr 21, 2019
1 parent 0ea71a7 commit 10e74ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
11 changes: 1 addition & 10 deletions test/core/range.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,7 @@ function testRangeCreator(docs: Document[], docName, rangeCreator: RangeCreator,
var div2Text = div2.appendChild(doc.createTextNode("Second div"));
doc.body.appendChild(div2);

nodes = {
div: div,
plainText: plainText,
b: b,
boldText: boldText,
i: i,
boldAndItalicText: boldAndItalicText,
div2: div2,
div2Text: div2Text
};
nodes = {div, plainText, b, boldText, i, boldAndItalicText, div2, div2Text};
},
afterEach: function() {
doc.body.removeChild(nodes.div);
Expand Down
12 changes: 1 addition & 11 deletions test/core/selection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,7 @@ function testSelectionAndRangeCreators(wins, winName,
var div2Text = div2.appendChild(doc.createTextNode("Second div"));
doc.body.appendChild(div2);

nodes = {
div: div,
plainText: plainText,
b: b,
boldText: boldText,
i: i,
boldAndItalicText: boldAndItalicText,
boldText2: boldText2,
div2: div2,
div2Text: div2Text
};
nodes = {div, plainText, b, boldText, i, boldAndItalicText, boldText2, div2, div2Text};
},
afterEach: function () {
doc.body.removeChild(nodes.div);
Expand Down

0 comments on commit 10e74ff

Please sign in to comment.