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

9 lines
222 B
JavaScript

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