cometchat-react-testing
Installation
SKILL.md
Purpose
Test recipes for CometChat React UI Kit integrations. Three layers — unit, component, e2e — three different mocking strategies. This skill writes the configuration and the canonical assertions; real test bodies are app-specific.
Read these other skills first:
cometchat-core— init, login, provider patterns the tests assert againstcometchat-{react,nextjs,react-router,astro}-patterns— framework-specific render gatescometchat-react-calls/references/testing-calls-on-web.md— the calls-specific testing patterns (this skill is for chat)
Ground truth: Official docs: https://www.cometchat.com/docs/ui-kit/react/overview · Docs MCP: claude mcp add --transport http cometchat-docs https://www.cometchat.com/docs/mcp (or fetch the URL directly without MCP).
- Vitest docs — https://vitest.dev/
- React Testing Library — https://testing-library.com/docs/react-testing-library/intro
- Playwright — https://playwright.dev/