consul/ui-v2/tests/pages/dc/nspaces/edit.js

9 lines
280 B
JavaScript

export default function(visitable, submitable, deletable, cancelable) {
return {
visit: visitable(['/:dc/namespaces/:namespace', '/:dc/namespaces/create']),
...submitable({}, 'form > div'),
...cancelable({}, 'form > div'),
...deletable({}, 'form > div'),
};
}