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

13 lines
299 B
JavaScript

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