MCPcopy Create free account
hub / github.com/GetStream/stream-js / doneYet

Function doneYet

test/integration/common/faye_test.js:83–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 };
82
83 const doneYet = function () {
84 messages++;
85
86 if (messages === 1) {
87 testUser1
88 .subscribe(function () {
89 done('testUser1 should not receive any messages');
90 })
91 .then(function () {
92 done('testUser1 should not authenticate successfully');
93 }, doneYet);
94 }
95
96 if (messages === 2) done();
97 };
98
99 testUser2.subscribe(doneYet).then(function () {
100 testUser2.addActivity(activity, httpCallback);

Callers

nothing calls this directly

Calls 1

subscribeMethod · 0.80

Tested by

no test coverage detected