consul/ui/packages/consul-ui/tests/pages/dc/intentions/index.js

14 lines
333 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
export default function (visitable, creatable, clickable, intentions, popoverSelect) {
return {
visit: visitable('/:dc/intentions'),
intentionList: intentions(),
sort: popoverSelect('[data-test-sort-control]'),
...creatable({}),
};
}