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

10 lines
285 B
JavaScript
Raw Normal View History

export default function(visitable, creatable, text, tokens, popoverSelect) {
2020-06-17 09:25:54 +00:00
return {
visit: visitable('/:dc/acls/tokens'),
update: text('[data-test-notification-update]'),
tokens: tokens(),
sort: popoverSelect('[data-test-sort-control]'),
2020-06-17 09:25:54 +00:00
...creatable(),
};
}