getCategoryNodeFragment
Generates a category tree fragment with the specified number of nested child category trees.
import { getCategoryNodeFragment } from '@daffodil/navigation/driver/magento'
function getCategoryNodeFragment(
depth: number = 3
extraFragments: any[] = []
): DocumentNode