consul/ui/packages/consul-ui/tests/pages/dc/acls/edit.js

13 lines
340 B
JavaScript

export default function (visitable, submitable, deletable, cancelable, clickable) {
return submitable(
cancelable(
deletable({
visit: visitable(['/:dc/acls/:acl', '/:dc/acls/create']),
use: clickable('[data-test-use]'),
confirmUse: clickable('[data-test-confirm-use]'),
})
),
'main'
);
}