Skip to content

Commit

Permalink
test(popup-menu-native): fix deprecated property name
Browse files Browse the repository at this point in the history
  • Loading branch information
UrazAkgultan committed Aug 27, 2024
1 parent 51ea4d5 commit 85136a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe("Popup menu", () => {

it("triggers action", () => {
const component = render(<PopupMenu {...defaultProps} />);
const basicItem = component.container.findByType(MenuItem);
const basicItem = component.UNSAFE_root.findByType(MenuItem);
expect(basicItem).toBeDefined();
expect(basicItem.props.testID).toBe(basicItemTestId);

Expand Down

0 comments on commit 85136a6

Please sign in to comment.