jest-native icon indicating copy to clipboard operation
jest-native copied to clipboard

🦅 Custom jest matchers to test the state of React Native

Results 26 jest-native issues
Sort by recently updated
recently updated
newest added

**What**: closes #81. **Why**: Typescript provide type safety and ease of use for developers. **How**: As the repository is quite small, migrated all in once. Use typescript compiler instead of...

**What**: Add `toBeVisible` matcher following a similar logic as the `jest-dom` matcher ([reference](https://github.com/testing-library/jest-dom#tobevisible)). **Why**: This matcher provides a useful way to verify that a queried element is actually visible. **How**:...

Bumps [redent](https://github.com/sindresorhus/redent) from 3.0.0 to 4.0.0. Release notes Sourced from redent's releases. v4.0.0 Breaking Require Node.js 12 3f91c57 This package is now pure ESM. Please read this. https://github.com/sindresorhus/redent/compare/v3.0.0...v4.0.0 Commits d1e765a...

dependencies
javascript

**What**: Setup ESLint validation with reasonable rules. Fix remaining rule violations. Also: - removed Husky reformatting hook in favor of ESLint also checking formatting. - switch to plain Yarn because...

**Describe the feature you'd like:** Current code is written in JavaScript without any from of strong typing. We provide a TypeScript types file. Idea is to migrate the whole code...

help wanted

I've just installed `jest-native` and when I try to use `toHaveStyle()` I got this error: This is the complete example: ```tsx const commonStyles: TextStyle = { fontFamily: 'ProximaNova', fontSize: 14,...

**Describe the feature you'd like:** A new matcher for testing if an element is focused. Similar to what Detox has: https://wix.github.io/Detox/docs/api/expect#tobefocused

Hi, Its very difficult to test the Modal component in RN directly at present. It would be awesome if: 1. there is some way to directly select the modal element...

- `react-native` or `expo`: react-native - `@testing-library/react-native` version: 3.4.3 - `jest-preset`: react-native - `react-native` version: 0.63.4 - `node` version: v15.5.0 ### Relevant code or config: ```js it('toBeDisabled should equal not.toBeEnabled',...

Hi, I have this structure ![Captura de Tela 2021-09-29 às 10 53 50](https://user-images.githubusercontent.com/31551486/135283484-77ab5569-8952-4527-970e-2a7cd54149f2.png) I'm able to find my icon and validate the opacity by doing it like this: `const rightIcon...