@@ -74,7 +74,7 @@ describe('<HasApisCard />', () => {
|
||||
);
|
||||
|
||||
expect(getByText('APIs')).toBeInTheDocument();
|
||||
expect(getByText(/No API is part of this system/i)).toBeInTheDocument();
|
||||
expect(getByText(/does not contain any APIs/i)).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('shows related APIs', async () => {
|
||||
|
||||
@@ -74,7 +74,7 @@ describe('<ProvidedApisCard />', () => {
|
||||
);
|
||||
|
||||
expect(getByText(/Provided APIs/i)).toBeInTheDocument();
|
||||
expect(getByText(/No component provides this API/i)).toBeInTheDocument();
|
||||
expect(getByText(/does not provide it's own APIs/i)).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('shows consumed APIs', async () => {
|
||||
|
||||
Reference in New Issue
Block a user