Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
import { getHoveredParallelId } from '../get-hovered-parallel-id'
describe('getHoveredParallelId', () => {
it('returns the closest parallel id from the related target', () => {
const wrapper = document.createElement('div')
wrapper.setAttribute('data-parallel-id', 'parallel-1')
const child = document.createElement('span')
wrapper.appendChild(child)
expect(getHoveredParallelId(child)).toBe('parallel-1')
})
it('returns null when there is no parallel ancestor', () => {
expect(getHoveredParallelId(document.createElement('span'))).toBeNull()
expect(getHoveredParallelId(null)).toBeNull()
})
})