Skip to content

Commit

Permalink
Fix LocationShareMenu-test.tsx
Browse files Browse the repository at this point in the history
AccessibleButton is div by default

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
  • Loading branch information
luixxiul committed Jun 2, 2022
1 parent 462cfba commit 7d783a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/components/views/location/LocationShareMenu-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ describe('<LocationShareMenu />', () => {
});

const getShareTypeOption = (component: ReactWrapper, shareType: LocationShareType) =>
findByTagAndTestId(component, `share-location-option-${shareType}`, 'button');
findByTagAndTestId(component, `share-location-option-${shareType}`, 'div');

const getBackButton = (component: ReactWrapper) =>
findByTagAndTestId(component, 'share-dialog-buttons-back', 'button');
Expand Down

0 comments on commit 7d783a7

Please sign in to comment.