mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 07:25:00 -04:00
Add event-stream-service unit tests.
This commit is contained in:
parent
570db98548
commit
44a24605ad
2 changed files with 84 additions and 0 deletions
|
@ -124,6 +124,10 @@ angular.module('eventStreamService', [])
|
|||
};
|
||||
|
||||
return {
|
||||
// expose these values for testing
|
||||
SERVER_TIMEOUT: SERVER_TIMEOUT_MS,
|
||||
CLIENT_TIMEOUT: CLIENT_TIMEOUT_MS,
|
||||
|
||||
// resume the stream from whereever it last got up to. Typically used
|
||||
// when the page is opened.
|
||||
resume: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue