diff --git a/src/observable/BaseObservableCollection.js b/src/observable/BaseObservableCollection.js index 13b059ae..f9370f10 100644 --- a/src/observable/BaseObservableCollection.js +++ b/src/observable/BaseObservableCollection.js @@ -45,9 +45,8 @@ export function tests() { return { test_unsubscribe(assert) { const c = new Collection(); - const subscription = c.subscribe({}); - // unsubscribe - subscription(); + const unsubscribe = c.subscribe({}); + unsubscribe(); assert.equal(c.firstSubscribeCalls, 1); assert.equal(c.firstUnsubscribeCalls, 1); }