diff --git a/test/unit/path-effects-elements.js b/test/unit/path-effects-elements.js index 7c153e4e75..c68de108b2 100644 --- a/test/unit/path-effects-elements.js +++ b/test/unit/path-effects-elements.js @@ -346,9 +346,7 @@ Polymer({ ], created() { - this.propChanged = sinon.spy(function() { - this.debug = true; - }); + this.propChanged = sinon.spy(); }, computeProp(trigger, value) { @@ -382,16 +380,14 @@ Polymer({ ], created() { - this.arrayChanged = sinon.spy(function() { - this.debug = true; - }); + this.arrayChanged = sinon.spy(); }, changeArray() { if (this.array.length === 0) { this.push('array', 'one'); } else if (this.array.length === 1) { - this.push('array', 'two') + this.push('array', 'two'); } } diff --git a/test/unit/path-effects.html b/test/unit/path-effects.html index 57ae116f80..93b8401898 100644 --- a/test/unit/path-effects.html +++ b/test/unit/path-effects.html @@ -360,7 +360,7 @@ let c = {}, b = {c}, a = {b}; el.a = a; el.resetObservers(); - c = {}, + c = {}; b = {c}; el.set('a.b', b); assert.equal(el.aChanged.callCount, 1); @@ -377,7 +377,7 @@ let c = {}, b = {c}, a = {b}; el.a = a; el.resetObservers(); - c = {}, + c = {}; el.set('a.b.c', c); assert.equal(el.aChanged.callCount, 1); assert.deepEqual(el.aChanged.firstCall.args[0], {path: 'a.b.c', base: a, value: c});