]> source.dussan.org Git - svg.js.git/commitdiff
remove redundant test
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>
Wed, 12 Oct 2016 15:11:04 +0000 (17:11 +0200)
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>
Wed, 12 Oct 2016 15:11:04 +0000 (17:11 +0200)
spec/spec/sugar.js

index 9133032fb58a082c17d007d8c0b3e88996bc5202..3c1878791edb088ea9a5610b48cd0cc4d3abe634 100644 (file)
@@ -668,12 +668,4 @@ describe('Sugar', function() {
       expect(rect.dom.number).toBe('3px')
     })
   })
-
-  describe('point()', function() {
-    it('creates a point from screen coordinates transformed in the elements space', function(){
-      var rect = draw.rect(100,100)
-      expect(rect.point(2,5).x).toBeCloseTo(-6)
-      expect(rect.point(2,5).y).toBeCloseTo(-3)
-    })
-  })
 })