open-consul/ui/packages/consul-ui/tests/pages/dc/acls/policies/index.js

8 lines
226 B
JavaScript

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