Skip to content

Commit

Permalink
Remove svg tests from h.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Bucaran committed Mar 11, 2017
1 parent bfc1a6b commit e6a17f8
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions test/h.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,36 +129,6 @@ describe("h", () => {
children: []
}]
})

})

it("creates a vnode with a svg namespace if tag is svg", () => {

expect(
h("svg", {}, "foo")
).toEqual({
tag: "svg",
data: {
ns: "http://www.w3.org/2000/svg"
},
children: ["foo"]
})

expect(
h("svg", {}, h("circle", {}))
).toEqual({
tag: "svg",
data: {
ns: "http://www.w3.org/2000/svg"
},
children: [{
tag: "circle",
data: {
ns: "http://www.w3.org/2000/svg"
},
children: []
}]
})
})
})

Expand Down

0 comments on commit e6a17f8

Please sign in to comment.