BigHugger
sk Skill · cometchat

cometchat-react-testing

Testing patterns for CometChat React UI Kit v6 in Vite / Next.js / React Router / Astro projects. Covers Vitest + React Testing Library setup, mocking @cometchat/chat-sdk-javascript and @cometchat/chat-uikit-react, Playwright e2e for full chat flows, the chat-specific assertions (init resolves before render, error UI visible, no Auth Key in test files, css-variables.css imported once), and CI configuration. Sister…

installs 8w
0
30-day movement
starts with the next reading
Related entries
1
Connections
0
yamltypescriptbashJavaScriptcometchat react testing vitest react-testing-library playwright e2e mocking jsdom websocket nextjs astro
Host repository
cometchat/cometchat-skills
Version
4.0.0
Compatible with
React >= 18, Vitest >= 1, Vite >= 5, @testing-library/react >= 14, Playwright >= 1.40, @cometchat/chat-uikit-react ^6.x
Licence
MIT
Host stars
108
Host language
JavaScript