nandorojo / moti

🐼 The React Native (+ Web) animation library, powered by Reanimated 3.
https://moti.fyi
MIT License
3.9k stars 120 forks source link

Add `testID` prop to `MotiPressable` for improved testability #328

Closed agrawal-rohit closed 5 months ago

agrawal-rohit commented 6 months ago

Overview

This pull request introduces the addition of the native testID prop to the MotiPressable component. The purpose of this change is to facilitate better testing practices by allowing developers to assign a test ID to MotiPressable elements.

Changes

Benefits

With the testID prop, developers can write more robust tests for components that utilize MotiPressable. This small but significant enhancement improves the testability of components, making it easier to maintain high-quality code standards.

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
moti ❌ Failed (Inspect) Dec 16, 2023 10:53pm
agrawal-rohit commented 5 months ago

@nandorojo bump