summaryrefslogtreecommitdiff
path: root/spec/frontend/helpers/stub_children.js
blob: 91171eb3d8c63817cc3490d8b6adbb53413151be (plain)
1
2
3
export default function stubChildren(Component) {
  return Object.fromEntries(Object.keys(Component.components).map(c => [c, true]));
}