React native testing

From HoangNguyen0403/agent-skills-standard · View interactive version

React native testing is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Test React Native components with Jest and React Native Testing Library. Use when writing Jest or React Native Testing Library tests for React Native components.

How to use this skill

Skill file

React Native Testing

**Priority: P1 (HIGH)**

Core Rule Anchors

Setup & Component Testing

test('increments counter on button press', () => {
  const { getByText, getByRole } = render(<Counter />);
  fireEvent.press(getByRole('button', { name: /increment/i }));
  expect(getByText('Count: 1')).toBeTruthy();
});

Best Practices

Anti-Patterns

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.