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

14 lines
302 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
export default function (visitable, creatable, roles, popoverSelect) {
return {
visit: visitable('/:dc/acls/roles'),
roles: roles(),
sort: popoverSelect('[data-test-sort-control]'),
...creatable(),
};
}