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

11 lines
282 B
JavaScript
Raw Normal View History

export default function(visitable, submitable, deletable, cancelable) {
2018-07-04 14:06:20 +00:00
return submitable(
cancelable(
deletable({
visit: visitable(['/:dc/kv/:kv/edit', '/:dc/kv/create'], str => str),
session: deletable({}, '[data-test-session]'),
})
)
2018-07-04 14:06:20 +00:00
);
}