jest-native
jest-native copied to clipboard
🦅 Custom jest matchers to test the state of React Native
Rewrite toBeDisabled asserting the logic RN does around `onStartShouldSetResponder` as discussed in #23 - [x] Documentation added to the [docs](https://github.com/testing-library/jest-native/README.md) - [x] Typescript definitions updated - [x] Tests - [x]...
Is anyone interested in helping maintain this project. The primary maintainer is no longer able to maintain it.
Given the clear examples given on toHaveStyle, I am thinking the component is not supported. Basically, my custom component outputs Icon (react-native-vector-icons) based on some props. It takes one color...
I am trying to figure out why this test works: ```javascript test('test 1', () => { const { queryByLabelText, debug } = render( One Two Three ); debug(); expect(queryByLabelText('parent')).toHaveTextContent('OneTwoThree'); });...
- `react-native` or `expo`: 0.62.1 - `@testing-library/react-native` version: 3.1.0 - `react-native` version: 0.62.1 - `node` version: 12.16.1 Latest version of RN deprecated `accessibilityStates` in favor of `accessibilityState` https://reactnative.dev/blog/2020/03/26/version-0.62#breaking-changes Seems like...
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.10.1 to 0.11.0. Release notes Sourced from styfle/cancel-workflow-action's releases. 0.11.0 Minor Changes Update to Node 16: #186 Chore: rebuild: 1e0e690cd3756927cda56ad0033137ff1268c477 Chore(deps-dev): bump typescript from 4.8.3 to 4.8.4:...
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native) from 0.69.13 to 0.70.4. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
**Describe the feature you'd like:** React Native has recently introduced support for ARIA accessibility properties. However, the existing accessibility matchers `toHaveAccessibilityState` and `toHaveAccessibilityValue`, currently do not support these new ARIA...
**Describe the feature you'd like:** Eslint plugin that force devs to use `jest-native` matchers **Suggested implementation:** ... **Describe alternatives you've considered:** ... **Teachability, Documentation, Adoption, Migration Strategy:** ...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 19.0.5 to 21.0.9. Release notes Sourced from semantic-release's releases. v21.0.9 21.0.9 (2023-08-20) Bug Fixes deps: update dependency hosted-git-info to v7 (#2908) (eba86ac) v21.0.8 21.0.8 (2023-08-19) Bug Fixes...