---
title: "Discussion on \"React Testing Library Reference: Queries, userEvent, Async, MSW and Accessibility\" | Hashnode"
description: "Discussion on \"React Testing Library Reference: Queries, userEvent, Async, MSW and Accessibility\". React Testing Library reference — test what users see, not how your components work.\nThe guiding rule: test behavior, not implementation\n// WRONG: testing internal state\nexpect(wrapper.state().isOpen).toBe(true);\n\n// CORRECT: testing what the user se..."
url: "https://hashnode.com/posts/react-testing-library-reference-queries-userevent-async-msw-accessibility-2026/69b5d597f5efb39dc77c5730"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [React Testing Library Reference: Queries, userEvent, Async, MSW and Accessibility](https://releaserun.hashnode.dev/react-testing-library-reference-queries-userevent-async-msw-accessibility-2026?utm_source=hashnode&utm_medium=feed)

React Testing Library reference — test what users see, not how your components work. The guiding rule: test behavior, not implementation // WRONG: testing internal state expect(wrapper.state().isOpen).toBe(true); // CORRECT: testing what the user se...

Mar 14 · 2 min read · releaserun.hashnode.dev  
Updated Mar 18  
Read the article

## Written by

[Matheus](https://hashnode.com/@matheus-releaserun)

@matheus-releaserun · London, UK

  
[View profile](https://hashnode.com/@matheus-releaserun)

Dev at ReleaseRun. Writing about releases, Node.js, DevOps.

25+ years building backend systems, APIs, and infrastructure. Now focused on helping developers stay on top of software releases. Building ReleaseRun — because reading changelogs shouldn't be a full-time job.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
