From e6a17f8254188263478faf7889a076b9f53d5040 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Sat, 11 Mar 2017 16:14:11 +0900 Subject: [PATCH] Remove svg tests from h. --- test/h.test.js | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/test/h.test.js b/test/h.test.js index 286a7372d..5e44a11fb 100644 --- a/test/h.test.js +++ b/test/h.test.js @@ -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: [] - }] - }) }) })