consul/ui/packages/consul-ui/tests/pages/dc/peers/index.js

8 lines
209 B
JavaScript

export default function (visitable, creatable, items, popoverSelect) {
return creatable({
visit: visitable('/:dc/peers'),
peers: items(),
sort: popoverSelect('[data-test-sort-control]'),
});
}