(client, feedGroup, userId, readOnly)
| 33 | } |
| 34 | |
| 35 | function createFeedWithToken(client, feedGroup, userId, readOnly) { |
| 36 | userId = randUserId(userId); |
| 37 | |
| 38 | const token = jwt('*', readOnly ? 'read' : '*', { feedId: feedGroup + userId }); |
| 39 | return client.feed(feedGroup, userId, token); |
| 40 | } |
| 41 | |
| 42 | function initNode() { |
| 43 | this.timeout(40000); |
no test coverage detected