forked from mystiq/hydrogen-web
better naming
This commit is contained in:
parent
b53b60e142
commit
0b5c2f9273
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue