Skip to content

Commit

Permalink
Add unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mariia-aloshyna committed Feb 12, 2025
1 parent bcb00c6 commit b55f079
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Instance/InstanceDetails/InstanceDetails.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ describe('InstanceDetails', () => {
const warningBanner = screen.getByText('Warning:', { exact: false });

expect(warningBanner.textContent).toEqual('Warning: Instance is set for deletion, suppressed from discovery, and staff suppressed');
expect(screen.getByText('Set for deletion')).toBeInTheDocument();
});

it('expands and collapses the accordion sections', () => {
Expand Down

0 comments on commit b55f079

Please sign in to comment.