---
title: "Discussion on \"React Unit Testing using @testing-library/react\" | Hashnode"
description: "Discussion on \"React Unit Testing using @testing-library/react\". How to testing element exists using text from element?"
url: "https://hashnode.com/posts/react-unit-testing-using-testing-libraryreact/65af73f431cd81546f780fc8"
---

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

Discussion

# [React Unit Testing using @testing-library/react](https://erba-blognote.com/react-unit-testing-using-testing-libraryreact?utm_source=hashnode&utm_medium=feed)

How to testing element exists using text from element?

Jan 23, 2024 · 1 min read · erba-blognote.com  
Read the article

-   [#getbytext](https://hashnode.com/tag/getbytext)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-testing](https://hashnode.com/tag/react-testing)
-   [#react-testing-library](https://hashnode.com/tag/react-testing-library)

## Written by

[Erba Afidotama](https://hashnode.com/@erbaafidotama)

@erbaafidotama · DKI Jakarta, Indonesia

  
[View profile](https://hashnode.com/@erbaafidotama)

Website Developer

For now, im a website developer using React, NextJS, or Vue. Im still learning other framework like Svelte and Qwik, and learning mobile development Flutter.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
