Skip to content

Commit

Permalink
updates Rect test to reflect new <g> structure
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Nov 10, 2016
1 parent 20be1f4 commit 05f5a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Rect.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test("Rect", assert => {
.render(() => {

assert.equal(document.getElementsByTagName("svg").length, 1, "automatically added <svg> element to page");
assert.equal(document.getElementsByTagName("g").length, 1, "created <g> container element");
assert.equal(document.getElementsByClassName("d3plus-Rect").length, 1, "created <g> container element");
assert.equal(document.getElementsByTagName("rect").length, 1, "created <rect> element");
assert.equal(document.getElementsByTagName("text").length, 1, "created <text> element");
const tspans = document.getElementsByTagName("tspan");
Expand Down

0 comments on commit 05f5a16

Please sign in to comment.