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

15 lines
365 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
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(),
};
}