minor test fixes

This commit is contained in:
Dima Granetchi
2017-02-26 03:48:08 +02:00
parent f39628c220
commit e2c77078a2
2 changed files with 4 additions and 2 deletions
+4
View File
@@ -59,6 +59,8 @@ class ChainBindTest extends BuddySuite {
target.a.should.be(val); target.a.should.be(val);
callNum.should.be(5); callNum.should.be(5);
unbind();
}); });
it("BindExt.chain should bind chain changes (null links)", function () { it("BindExt.chain should bind chain changes (null links)", function () {
@@ -82,6 +84,8 @@ class ChainBindTest extends BuddySuite {
b.c.c.d = val = "b"; b.c.c.d = val = "b";
target.a.should.be(val); target.a.should.be(val);
callNum.should.be(3); callNum.should.be(3);
unbind();
}); });
it("BindExt.chain should bind chain changes (0 gap)", function () { it("BindExt.chain should bind chain changes (0 gap)", function () {
-2
View File
@@ -137,7 +137,6 @@ class TestProperty extends BuddySuite {
}); });
it("bindx should bind 2 objects (lazySignal=true)", function () { it("bindx should bind 2 objects (lazySignal=true)", function () {
var callNum2 = 0;
var target = {a:""}; var target = {a:""};
var s = ""; var s = "";
@@ -157,7 +156,6 @@ class TestProperty extends BuddySuite {
}); });
it("bindx should bind 2 objects (lazySignal=false)", function () { it("bindx should bind 2 objects (lazySignal=false)", function () {
var callNum2 = 0;
var target = {a:""}; var target = {a:""};
var s = ""; var s = "";