mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
74318854b9
* refactor: make Options generic type optionnal in queries * refactor: extract byLabelText queries and its tests * refactor: extract byA11yHint queries and its tests * refactor: extract byRole queries and its tests * refactor: extract byA11yState queries and its tests * refactor: extract byA11yValue queries and its tests * refactor: extract byA11yStates queries and its tests * refactor: harmonize component declaration in queries testsx * refactor: simplify error helpers in queries tests * refactor: make error helpers more explicit * chore: remove now unused makeA11yQueries * refactor: rename AccessibilityStateKeyQueryParam to AccessibilityStateKeys * refactor: rename param in a11yStates * refactor: simplify matchObject * refactor: fix namings in labelText * refactor: fix namings in a11yHint * refactor: fix queryAll namings' * refactor: fix some namings in a11yState * refactor: fix some namings in role * refactor: fix some namings in a11yValue * refactor: extract matchStringValue * refactor: extract matchObject * refactor: extract matchArrayValue * test: add tests for the matchers * refactor: simplify matchArrayValue to make it more explicit * refactor: reorder imports and object keys * refactor: update types * refactor: small tweaks * refactor: tweaks * refactor: clarify matcher naming * refactor: add missing aliases * chore: fix ci timeout * chore: revert jest timeout increase * chore: revert timeout increase * chore: fix ci tests * chore: re-enable disabled tests * chore: reduce jest paralelizaiton * chore: ci tweaks Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2 lines
67 B
JavaScript
2 lines
67 B
JavaScript
jest.mock('react-native/Libraries/Animated/NativeAnimatedHelper');
|