Lines Matching refs:nodes
23 /** A set of navigation nodes to test with */
24 const nodes: NavigationNode[] = [
50 const section = getNode(nodes, { name: 'Get started' });
63 const section = getNode(nodes, { name: 'Tutorial' });
82 <Navigation routes={nodes} />
97 const section = getNode(nodes, { name: 'Get started' });
106 const section = getNode(nodes, { name: 'Tutorial' });
115 expect(findActiveRoute(nodes, '/tutorial/first-steps/styling-text')).toMatchObject({
116 page: getNode(nodes, { name: 'Styling text' }),
117 group: getNode(nodes, { name: 'First steps' }),
118 section: getNode(nodes, { name: 'Tutorial' }),
123 expect(findActiveRoute(nodes, '/parallel-universe/microsoft-uwp')).toMatchObject({