Skip to content

Commit

Permalink
test(rating-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 cbd0f58 commit 51ea4d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe("Rating", () => {
fireEvent(starButton.findByType(TouchableOpacity), "press");

expect(actionValue.execute).toHaveBeenCalledTimes(1);
const actual = (rating.container.props.ratingAttribute as EditableValue<Big>).value;
const actual = (rating.UNSAFE_root.props.ratingAttribute as EditableValue<Big>).value;
const expected = new Big(3);
expect(actual).toStrictEqual(expected);
});
Expand Down

0 comments on commit 51ea4d5

Please sign in to comment.