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

Function randUserId

test/integration/utils/hooks.js:31–33  ·  view source on GitHub ↗
(userId)

Source from the content-addressed store, hash-verified

29}
30
31function randUserId(userId) {
32 return `${userId}-${Date.now()}-${Math.round(Math.random() * 1000)}`;
33}
34
35function createFeedWithToken(client, feedGroup, userId, readOnly) {
36 userId = randUserId(userId);

Callers 7

permissions.jsFile · 0.90
collection.jsFile · 0.90
createUserTokenMethod · 0.90
client_test.jsFile · 0.90
createFeedWithTokenFunction · 0.85
beforeEachNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected