Clarify dependency direction in EntityDependsOnResourcesCard
Signed-off-by: David Tuite <david@roadie.io>
This commit is contained in:
+2
-2
@@ -66,7 +66,7 @@ describe('<DependsOnResourcesCard />', () => {
|
||||
</Wrapper>,
|
||||
);
|
||||
|
||||
expect(getByText('Resources')).toBeInTheDocument();
|
||||
expect(getByText('Depends on resources')).toBeInTheDocument();
|
||||
expect(
|
||||
getByText(/No resource is a dependency of this component/i),
|
||||
).toBeInTheDocument();
|
||||
@@ -114,7 +114,7 @@ describe('<DependsOnResourcesCard />', () => {
|
||||
);
|
||||
|
||||
await waitFor(() => {
|
||||
expect(getByText('Resources')).toBeInTheDocument();
|
||||
expect(getByText('Depends on resources')).toBeInTheDocument();
|
||||
expect(getByText(/target-name/i)).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -31,7 +31,7 @@ export const DependsOnResourcesCard = ({ variant = 'gridItem' }: Props) => {
|
||||
return (
|
||||
<RelatedEntitiesCard
|
||||
variant={variant}
|
||||
title="Resources"
|
||||
title="Depends on resources"
|
||||
entityKind="Resource"
|
||||
relationType={RELATION_DEPENDS_ON}
|
||||
columns={resourceEntityColumns}
|
||||
|
||||
Reference in New Issue
Block a user