Skip to content

Documentation / test-reporting / extractSessionId

Function: extractSessionId() ​

extractSessionId(node): string | undefined

Defined in: test-reporting/src/linked-sessions.ts:88

The session id of a test node, or undefined when it ran without a session.

Parameters ​

ParameterType
node{ details?: { sessionId?: string | null; } | null; }
node.details?{ sessionId?: string | null; } | null

Returns ​

string | undefined