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

11 lines
282 B
JavaScript

export default function(visitable, submitable, deletable, cancelable) {
return submitable(
cancelable(
deletable({
visit: visitable(['/:dc/kv/:kv/edit', '/:dc/kv/create'], str => str),
session: deletable({}, '[data-test-session]'),
})
)
);
}