mirror of https://github.com/hashicorp/consul
12 lines
228 B
JavaScript
12 lines
228 B
JavaScript
|
export default function(clickable) {
|
||
|
return function(obj) {
|
||
|
return {
|
||
|
...obj,
|
||
|
...{
|
||
|
delete: clickable('[data-test-delete]'),
|
||
|
confirmDelete: clickable('button.type-delete'),
|
||
|
},
|
||
|
};
|
||
|
};
|
||
|
}
|