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

10 lines
286 B
JavaScript

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