Permalink
Browse files

Cleaning up after tests

  • Loading branch information...
nvh committed Jan 26, 2018
1 parent 5d18f8a commit e8c41ca0657357089e1565a6715620af9f9c0b82
@@ -81,6 +81,8 @@ describe "Align", ->
rect.x.should.equal 414-66
rect.y.should.equal 0
svg.destroy()
describe "left", ->
@@ -1247,6 +1247,9 @@ describe "LayerAnimation", ->
autoSize: true
strokeWidth: 1
afterEach ->
layer.destroy()
it "should animate the fill property", (done) ->
layer.onAnimationEnd ->
layer.fill.should.equalColor "yellow"
@@ -1297,4 +1300,5 @@ describe "LayerAnimation", ->
a.onAnimationEnd ->
l.x.should.equal 45 + path.x
l.y.should.equal -5 + path.y
svg.destroy()
done()
@@ -24,6 +24,7 @@ describe "SVGLayer", ->
b = a.copy()
a.htmlIntrinsicSize.should.eql b.htmlIntrinsicSize
a.destroy()
it "should not copy SVGLayer that has children", ->
a = new SVGLayer
@@ -8,6 +8,9 @@ describe "SVGPath", ->
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><path d="M 100 50 C 100 77.614 77.614 100 50 100 C 22.386 100 0 77.614 0 50 C 0 22.386 22.386 0 50 0" id="path" name="path" fill="transparent" stroke="#0AF"></path></svg>'
path = svg.elements.path
afterEach ->
svg.destroy()
describe "pointAtFraction", ->
it "should get the beginning", ->

0 comments on commit e8c41ca

Please sign in to comment.