mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
properly test handle state as we cannot intercept errors from bindEnvironment
This commit is contained in:
@@ -533,12 +533,15 @@ Tinytest.addAsync('livedata server - publication stop should not throw error', a
|
||||
});
|
||||
|
||||
initializing = false;
|
||||
|
||||
|
||||
this.added('issueUnreadCount', user._id, {count});
|
||||
|
||||
this.onStop(handle.stop);
|
||||
|
||||
this.onStop(() => {
|
||||
console.log('onStop');
|
||||
handle.stop();
|
||||
});
|
||||
test.isTrue(handle._stopped)
|
||||
})
|
||||
|
||||
this.ready();
|
||||
}
|
||||
});
|
||||
@@ -575,8 +578,6 @@ Tinytest.addAsync('livedata server - publication stop should not throw error', a
|
||||
|
||||
sub5.stop();
|
||||
|
||||
console.log(messages);
|
||||
|
||||
cleanup();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user