diff --git a/test/ChainBindTest.hx b/test/ChainBindTest.hx index 16e0e63..702a4d9 100644 --- a/test/ChainBindTest.hx +++ b/test/ChainBindTest.hx @@ -59,6 +59,8 @@ class ChainBindTest extends BuddySuite { target.a.should.be(val); callNum.should.be(5); + + unbind(); }); it("BindExt.chain should bind chain changes (null links)", function () { @@ -82,6 +84,8 @@ class ChainBindTest extends BuddySuite { b.c.c.d = val = "b"; target.a.should.be(val); callNum.should.be(3); + + unbind(); }); it("BindExt.chain should bind chain changes (0 gap)", function () { diff --git a/test/TestProperty.hx b/test/TestProperty.hx index 4c0a989..e7b0d06 100644 --- a/test/TestProperty.hx +++ b/test/TestProperty.hx @@ -137,7 +137,6 @@ class TestProperty extends BuddySuite { }); it("bindx should bind 2 objects (lazySignal=true)", function () { - var callNum2 = 0; var target = {a:""}; var s = ""; @@ -157,7 +156,6 @@ class TestProperty extends BuddySuite { }); it("bindx should bind 2 objects (lazySignal=false)", function () { - var callNum2 = 0; var target = {a:""}; var s = "";