Fix test and update api-report
Signed-off-by: sblausten <sam@roadie.io>
This commit is contained in:
@@ -9,7 +9,6 @@ import { ApiRef } from '@backstage/core-plugin-api';
|
||||
import { BackstagePlugin } from '@backstage/core-plugin-api';
|
||||
import { default as default_2 } from 'react';
|
||||
import { DiscoveryApi } from '@backstage/core-plugin-api';
|
||||
import { DomainEntity } from '@backstage/catalog-model';
|
||||
import { ExploreToolsConfig } from '@backstage/plugin-explore-react';
|
||||
import { ExternalRouteRef } from '@backstage/core-plugin-api';
|
||||
import { FetchApi } from '@backstage/core-plugin-api';
|
||||
@@ -31,9 +30,6 @@ export const catalogEntityRouteRef: ExternalRouteRef<
|
||||
true
|
||||
>;
|
||||
|
||||
// @public (undocumented)
|
||||
export const DomainCard: (props: { entity: DomainEntity }) => JSX.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export const DomainExplorerContent: (props: {
|
||||
title?: string | undefined;
|
||||
|
||||
@@ -56,8 +56,9 @@ describe('<DefaultExplorePage />', () => {
|
||||
|
||||
await waitFor(() => {
|
||||
const elements = getAllByRole('tab');
|
||||
expect(elements.length).toBe(3);
|
||||
expect(elements.length).toBe(4);
|
||||
expect(getByText(elements[0], 'Domains')).toBeInTheDocument();
|
||||
expect(getByText(elements[1], 'Systems')).toBeInTheDocument();
|
||||
expect(getByText(elements[1], 'Groups')).toBeInTheDocument();
|
||||
expect(getByText(elements[2], 'Tools')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
@@ -14,5 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from './EntityExplorerContent';
|
||||
export * from './ExploreLayout';
|
||||
export * from './ToolSearchResultListItem';
|
||||
|
||||
Reference in New Issue
Block a user