Skip to content

Commit

Permalink
Modified unit test to test code coverage
Browse files Browse the repository at this point in the history
Enact-DCO-1.0-Signed-off-by: Hyelyn Kim (myelyn.kim@lge.com)
  • Loading branch information
mmyelyn committed Oct 7, 2024
1 parent 4123936 commit a918659
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ describe('ContextualPopupDecorator Specs', () => {
expect(contextualButton).toBeInTheDocument();
expect(MockObserverInstance.observe).toHaveBeenCalled();

/*
rerender(
<Root>
<ContextualButton popupComponent={() => message}>
Expand All @@ -539,7 +540,7 @@ describe('ContextualPopupDecorator Specs', () => {
);
expect(MockObserverInstance.disconnect).toHaveBeenCalled();

*/
global.ResizeObserver = originalObserver;
});
});

0 comments on commit a918659

Please sign in to comment.