debian-mirror-gitlab/spec/frontend/__helpers__/stub_children.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
138 B
JavaScript
Raw Normal View History

2020-03-13 15:44:24 +05:30
export default function stubChildren(Component) {
2021-03-08 18:12:59 +05:30
return Object.fromEntries(Object.keys(Component.components).map((c) => [c, true]));
2020-03-13 15:44:24 +05:30
}