Fix test and update api-report

Signed-off-by: sblausten <sam@roadie.io>
This commit is contained in:
sblausten
2022-12-22 14:31:21 +01:00
parent 3373cc3e5e
commit 7d308d65c7
3 changed files with 3 additions and 5 deletions
-4
View File
@@ -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();
});
+1
View File
@@ -14,5 +14,6 @@
* limitations under the License.
*/
export * from './EntityExplorerContent';
export * from './ExploreLayout';
export * from './ToolSearchResultListItem';