(
instance:
| (Omit<RuntimeInstance, 'workspaceKey'> & Partial<Pick<RuntimeInstance, 'workspaceKey'>>)
| null,
)
| 47 | } |
| 48 | |
| 49 | export function setRuntimeInstanceForTests( |
| 50 | instance: |
| 51 | | (Omit<RuntimeInstance, 'workspaceKey'> & Partial<Pick<RuntimeInstance, 'workspaceKey'>>) |
| 52 | | null, |
| 53 | ): void { |
| 54 | runtimeInstance = instance |
| 55 | ? { |
| 56 | instanceId: instance.instanceId, |
| 57 | pid: instance.pid, |
| 58 | workspaceKey: instance.workspaceKey ?? configuredWorkspaceKey ?? DEFAULT_WORKSPACE_KEY, |
| 59 | } |
| 60 | : null; |
| 61 | configuredWorkspaceKey = runtimeInstance?.workspaceKey ?? null; |
| 62 | } |
no outgoing calls
no test coverage detected