UNPKG

@opentap/runner-client

Version:

This is the web client for the OpenTAP Runner.

13 lines (12 loc) 295 B
/** * Get the runner ID and session ID from the subject as SubjectParts. * @param {string} subject * @returns SubjectParts */ export const getSubjectParts = (subject) => { const parts = subject.split('.'); return { runnerId: parts[2], sessionId: parts[4], }; };