You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/ui-v2/tests/pages/components/role-form.js

12 lines
309 B

export default (submitable, cancelable, policySelector) => () => {
return {
// this should probably be settable
resetScope: true,
scope: '[data-test-role-form]',
prefix: 'role',
...submitable(),
...cancelable(),
policies: policySelector('', '[data-test-create-policy]'),
};
};