(sessionId: string)
| 55 | |
| 56 | /** The prefix that every scoped name for a session begins with. */ |
| 57 | export function scopePrefix(sessionId: string): string { |
| 58 | return `${assertSessionId(sessionId)}${SCOPE_SEPARATOR}`; |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Strip the session prefix from a scoped name. Returns undefined |
no test coverage detected