{ "manifest": { "name": "@testing-library/react", "version": "16.3.0", "description": "Simple and complete React DOM testing utilities that encourage good testing practices.", "main": "dist/index.js", "types": "types/index.d.ts", "module": "dist/@testing-library/react.esm.js", "engines": { "node": ">=18" }, "scripts": { "prebuild": "rimraf dist", "build": "npm-run-all --parallel build:main build:bundle:main build:bundle:pure", "build:bundle:main": "dotenv -e .bundle.main.env kcd-scripts build -- --bundle --no-clean", "build:bundle:pure": "dotenv -e .bundle.main.env -e .bundle.pure.env kcd-scripts build -- --bundle --no-clean", "build:main": "kcd-scripts build --no-clean", "format": "kcd-scripts format", "install:csb": "npm install", "lint": "kcd-scripts lint", "setup": "npm install && npm run validate -s", "test": "kcd-scripts test", "test:update": "npm test -- --updateSnapshot --coverage", "typecheck": "kcd-scripts typecheck --build types", "validate": "kcd-scripts validate" }, "files": [ "dist", "dont-cleanup-after-each.js", "pure.js", "pure.d.ts", "types/*.d.ts" ], "keywords": [ "testing", "react", "ui", "dom", "jsdom", "unit", "integration", "functional", "end-to-end", "e2e" ], "author": { "name": "Kent C. Dodds", "email": "me@kentcdodds.com", "url": "https://kentcdodds.com" }, "license": "MIT", "dependencies": { "@babel/runtime": "^7.12.5" }, "devDependencies": { "@testing-library/dom": "^10.0.0", "@testing-library/jest-dom": "^5.11.6", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "chalk": "^4.1.2", "dotenv-cli": "^4.0.0", "jest-diff": "^29.7.0", "kcd-scripts": "^13.0.0", "npm-run-all": "^4.1.5", "react": "^19.0.0", "react-dom": "^19.0.0", "rimraf": "^3.0.2", "typescript": "^4.1.2" }, "peerDependencies": { "@testing-library/dom": "^10.0.0", "@types/react": "^18.0.0 || ^19.0.0", "@types/react-dom": "^18.0.0 || ^19.0.0", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true }, "@types/react-dom": { "optional": true } }, "eslintConfig": { "extends": "./node_modules/kcd-scripts/eslint.js", "parserOptions": { "ecmaVersion": 2022 }, "globals": { "globalThis": "readonly" }, "rules": { "react/prop-types": "off", "react/no-adjacent-inline-elements": "off", "import/no-unassigned-import": "off", "import/named": "off", "testing-library/no-container": "off", "testing-library/no-debugging-utils": "off", "testing-library/no-dom-import": "off", "testing-library/no-unnecessary-act": "off", "testing-library/prefer-explicit-assert": "off", "testing-library/prefer-find-by": "off", "testing-library/prefer-user-event": "off" } }, "eslintIgnore": [ "node_modules", "coverage", "dist", "*.d.ts" ], "repository": { "type": "git", "url": "https://github.com/testing-library/react-testing-library" }, "bugs": { "url": "https://github.com/testing-library/react-testing-library/issues" }, "homepage": "https://github.com/testing-library/react-testing-library#readme", "_registry": "npm", "_loc": "/home/josie/.cache/yarn/v6/npm-@testing-library-react-16.3.0-3a85bb9bdebf180cd76dba16454e242564d598a6-integrity/node_modules/@testing-library/react/package.json", "readmeFilename": "README.md", "readme": "
\n

React Testing Library

\n\n\n \n\n\n

Simple and complete React DOM testing utilities that encourage good testing\npractices.

\n\n
\n\n[**Read The Docs**](https://testing-library.com/react) |\n[Edit the docs](https://github.com/testing-library/testing-library-docs)\n\n
\n
\n\n
\n\n\n[![Build Status][build-badge]][build]\n[![Code Coverage][coverage-badge]][coverage]\n[![version][version-badge]][package]\n[![downloads][downloads-badge]][npmtrends]\n[![MIT License][license-badge]][license]\n[![All Contributors][all-contributors-badge]](#contributors)\n[![PRs Welcome][prs-badge]][prs]\n[![Code of Conduct][coc-badge]][coc]\n[![Discord][discord-badge]][discord]\n\n[![Watch on GitHub][github-watch-badge]][github-watch]\n[![Star on GitHub][github-star-badge]][github-star]\n[![Tweet][twitter-badge]][twitter]\n\n\n
\n \n \n \n
\n\n## Table of Contents\n\n\n\n\n- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [Installation](#installation)\n - [Suppressing unnecessary warnings on React DOM 16.8](#suppressing-unnecessary-warnings-on-react-dom-168)\n- [Examples](#examples)\n - [Basic Example](#basic-example)\n - [Complex Example](#complex-example)\n - [More Examples](#more-examples)\n- [Hooks](#hooks)\n- [Guiding Principles](#guiding-principles)\n- [Docs](#docs)\n- [Issues](#issues)\n - [πŸ› Bugs](#-bugs)\n - [πŸ’‘ Feature Requests](#-feature-requests)\n - [❓ Questions](#-questions)\n- [Contributors](#contributors)\n- [LICENSE](#license)\n\n\n\n## The problem\n\nYou want to write maintainable tests for your React components. As a part of\nthis goal, you want your tests to avoid including implementation details of your\ncomponents and rather focus on making your tests give you the confidence for\nwhich they are intended. As part of this, you want your testbase to be\nmaintainable in the long run so refactors of your components (changes to\nimplementation but not functionality) don't break your tests and slow you and\nyour team down.\n\n## The solution\n\nThe `React Testing Library` is a very lightweight solution for testing React\ncomponents. It provides light utility functions on top of `react-dom` and\n`react-dom/test-utils`, in a way that encourages better testing practices. Its\nprimary guiding principle is:\n\n> [The more your tests resemble the way your software is used, the more\n> confidence they can give you.][guiding-principle]\n\n## Installation\n\nThis module is distributed via [npm][npm] which is bundled with [node][node] and\nshould be installed as one of your project's `devDependencies`. \nStarting from RTL version 16, you'll also need to install\n`@testing-library/dom`:\n\n```\nnpm install --save-dev @testing-library/react @testing-library/dom\n```\n\nor\n\nfor installation via [yarn][yarn]\n\n```\nyarn add --dev @testing-library/react @testing-library/dom\n```\n\nThis library has `peerDependencies` listings for `react`, `react-dom` and\nstarting from RTL version 16 also `@testing-library/dom`.\n\n_React Testing Library versions 13+ require React v18. If your project uses an\nolder version of React, be sure to install version 12:_\n\n```\nnpm install --save-dev @testing-library/react@12\n\n\nyarn add --dev @testing-library/react@12\n```\n\nYou may also be interested in installing `@testing-library/jest-dom` so you can\nuse [the custom jest matchers](https://github.com/testing-library/jest-dom).\n\n> [**Docs**](https://testing-library.com/react)\n\n### Suppressing unnecessary warnings on React DOM 16.8\n\nThere is a known compatibility issue with React DOM 16.8 where you will see the\nfollowing warning:\n\n```\nWarning: An update to ComponentName inside a test was not wrapped in act(...).\n```\n\nIf you cannot upgrade to React DOM 16.9, you may suppress the warnings by adding\nthe following snippet to your test configuration\n([learn more](https://github.com/testing-library/react-testing-library/issues/281)):\n\n```js\n// this is just a little hack to silence a warning that we'll get until we\n// upgrade to 16.9. See also: https://github.com/facebook/react/pull/14853\nconst originalError = console.error\nbeforeAll(() => {\n console.error = (...args) => {\n if (/Warning.*not wrapped in act/.test(args[0])) {\n return\n }\n originalError.call(console, ...args)\n }\n})\n\nafterAll(() => {\n console.error = originalError\n})\n```\n\n## Examples\n\n### Basic Example\n\n```jsx\n// hidden-message.js\nimport * as React from 'react'\n\n// NOTE: React Testing Library works well with React Hooks and classes.\n// Your tests will be the same regardless of how you write your components.\nfunction HiddenMessage({children}) {\n const [showMessage, setShowMessage] = React.useState(false)\n return (\n
\n \n setShowMessage(e.target.checked)}\n checked={showMessage}\n />\n {showMessage ? children : null}\n
\n )\n}\n\nexport default HiddenMessage\n```\n\n```jsx\n// __tests__/hidden-message.js\n// these imports are something you'd normally configure Jest to import for you\n// automatically. Learn more in the setup docs: https://testing-library.com/docs/react-testing-library/setup#cleanup\nimport '@testing-library/jest-dom'\n// NOTE: jest-dom adds handy assertions to Jest and is recommended, but not required\n\nimport * as React from 'react'\nimport {render, fireEvent, screen} from '@testing-library/react'\nimport HiddenMessage from '../hidden-message'\n\ntest('shows the children when the checkbox is checked', () => {\n const testMessage = 'Test Message'\n render({testMessage})\n\n // query* functions will return the element or null if it cannot be found\n // get* functions will return the element or throw an error if it cannot be found\n expect(screen.queryByText(testMessage)).toBeNull()\n\n // the queries can accept a regex to make your selectors more resilient to content tweaks and changes.\n fireEvent.click(screen.getByLabelText(/show/i))\n\n // .toBeInTheDocument() is an assertion that comes from jest-dom\n // otherwise you could use .toBeDefined()\n expect(screen.getByText(testMessage)).toBeInTheDocument()\n})\n```\n\n### Complex Example\n\n```jsx\n// login.js\nimport * as React from 'react'\n\nfunction Login() {\n const [state, setState] = React.useReducer((s, a) => ({...s, ...a}), {\n resolved: false,\n loading: false,\n error: null,\n })\n\n function handleSubmit(event) {\n event.preventDefault()\n const {usernameInput, passwordInput} = event.target.elements\n\n setState({loading: true, resolved: false, error: null})\n\n window\n .fetch('/api/login', {\n method: 'POST',\n headers: {'Content-Type': 'application/json'},\n body: JSON.stringify({\n username: usernameInput.value,\n password: passwordInput.value,\n }),\n })\n .then(r => r.json().then(data => (r.ok ? data : Promise.reject(data))))\n .then(\n user => {\n setState({loading: false, resolved: true, error: null})\n window.localStorage.setItem('token', user.token)\n },\n error => {\n setState({loading: false, resolved: false, error: error.message})\n },\n )\n }\n\n return (\n
\n
\n
\n \n \n
\n
\n \n \n
\n \n
\n {state.error ?
{state.error}
: null}\n {state.resolved ? (\n
Congrats! You're signed in!
\n ) : null}\n
\n )\n}\n\nexport default Login\n```\n\n```jsx\n// __tests__/login.js\n// again, these first two imports are something you'd normally handle in\n// your testing framework configuration rather than importing them in every file.\nimport '@testing-library/jest-dom'\nimport * as React from 'react'\n// import API mocking utilities from Mock Service Worker.\nimport {rest} from 'msw'\nimport {setupServer} from 'msw/node'\n// import testing utilities\nimport {render, fireEvent, screen} from '@testing-library/react'\nimport Login from '../login'\n\nconst fakeUserResponse = {token: 'fake_user_token'}\nconst server = setupServer(\n rest.post('/api/login', (req, res, ctx) => {\n return res(ctx.json(fakeUserResponse))\n }),\n)\n\nbeforeAll(() => server.listen())\nafterEach(() => {\n server.resetHandlers()\n window.localStorage.removeItem('token')\n})\nafterAll(() => server.close())\n\ntest('allows the user to login successfully', async () => {\n render()\n\n // fill out the form\n fireEvent.change(screen.getByLabelText(/username/i), {\n target: {value: 'chuck'},\n })\n fireEvent.change(screen.getByLabelText(/password/i), {\n target: {value: 'norris'},\n })\n\n fireEvent.click(screen.getByText(/submit/i))\n\n // just like a manual tester, we'll instruct our test to wait for the alert\n // to show up before continuing with our assertions.\n const alert = await screen.findByRole('alert')\n\n // .toHaveTextContent() comes from jest-dom's assertions\n // otherwise you could use expect(alert.textContent).toMatch(/congrats/i)\n // but jest-dom will give you better error messages which is why it's recommended\n expect(alert).toHaveTextContent(/congrats/i)\n expect(window.localStorage.getItem('token')).toEqual(fakeUserResponse.token)\n})\n\ntest('handles server exceptions', async () => {\n // mock the server error response for this test suite only.\n server.use(\n rest.post('/api/login', (req, res, ctx) => {\n return res(ctx.status(500), ctx.json({message: 'Internal server error'}))\n }),\n )\n\n render()\n\n // fill out the form\n fireEvent.change(screen.getByLabelText(/username/i), {\n target: {value: 'chuck'},\n })\n fireEvent.change(screen.getByLabelText(/password/i), {\n target: {value: 'norris'},\n })\n\n fireEvent.click(screen.getByText(/submit/i))\n\n // wait for the error message\n const alert = await screen.findByRole('alert')\n\n expect(alert).toHaveTextContent(/internal server error/i)\n expect(window.localStorage.getItem('token')).toBeNull()\n})\n```\n\n> We recommend using [Mock Service Worker](https://github.com/mswjs/msw) library\n> to declaratively mock API communication in your tests instead of stubbing\n> `window.fetch`, or relying on third-party adapters.\n\n### More Examples\n\n> We're in the process of moving examples to the\n> [docs site](https://testing-library.com/docs/example-codesandbox)\n\nYou'll find runnable examples of testing with different libraries in\n[the `react-testing-library-examples` codesandbox](https://codesandbox.io/s/github/kentcdodds/react-testing-library-examples).\nSome included are:\n\n- [`react-redux`](https://codesandbox.io/s/github/kentcdodds/react-testing-library-examples/tree/main/?fontsize=14&module=%2Fsrc%2F__tests__%2Freact-redux.js&previewwindow=tests)\n- [`react-router`](https://codesandbox.io/s/github/kentcdodds/react-testing-library-examples/tree/main/?fontsize=14&module=%2Fsrc%2F__tests__%2Freact-router.js&previewwindow=tests)\n- [`react-context`](https://codesandbox.io/s/github/kentcdodds/react-testing-library-examples/tree/main/?fontsize=14&module=%2Fsrc%2F__tests__%2Freact-context.js&previewwindow=tests)\n\n## Hooks\n\nIf you are interested in testing a custom hook, check out [React Hooks Testing\nLibrary][react-hooks-testing-library].\n\n> NOTE: it is not recommended to test single-use custom hooks in isolation from\n> the components where it's being used. It's better to test the component that's\n> using the hook rather than the hook itself. The `React Hooks Testing Library`\n> is intended to be used for reusable hooks/libraries.\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more\n> confidence they can give you.][guiding-principle]\n\nWe try to only expose methods and utilities that encourage you to write tests\nthat closely resemble how your React components are used.\n\nUtilities are included in this project based on the following guiding\nprinciples:\n\n1. If it relates to rendering components, it deals with DOM nodes rather than\n component instances, nor should it encourage dealing with component\n instances.\n2. It should be generally useful for testing individual React components or\n full React applications. While this library is focused on `react-dom`,\n utilities could be included even if they don't directly relate to\n `react-dom`.\n3. Utility implementations and APIs should be simple and flexible.\n\nMost importantly, we want React Testing Library to be pretty light-weight,\nsimple, and easy to understand.\n\n## Docs\n\n[**Read The Docs**](https://testing-library.com/react) |\n[Edit the docs](https://github.com/testing-library/testing-library-docs)\n\n## Issues\n\nLooking to contribute? Look for the [Good First Issue][good-first-issue] label.\n\n### πŸ› Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**][bugs]\n\n### πŸ’‘ Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding\na πŸ‘. This helps maintainers prioritize what to work on.\n\n[**See Feature Requests**][requests]\n\n### ❓ Questions\n\nFor questions related to using the library, please visit a support community\ninstead of filing an issue on GitHub.\n\n- [Discord][discord]\n- [Stack Overflow][stackoverflow]\n\n## Contributors\n\nThanks goes to these people ([emoji key][emojis]):\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\"Kent
Kent C. Dodds

πŸ’» πŸ“– πŸš‡ ⚠️
\"Ryan
Ryan Castner

πŸ“–
\"Daniel
Daniel Sandiego

πŸ’»
\"PaweΕ‚
PaweΕ‚ MikoΕ‚ajczyk

πŸ’»
\"Alejandro
Alejandro ÑÑñez Ortiz

πŸ“–
\"Matt
Matt Parrish

πŸ› πŸ’» πŸ“– ⚠️
\"Justin
Justin Hall

πŸ“¦
\"Anto
Anto Aravinth

πŸ’» ⚠️ πŸ“–
\"Jonah
Jonah Moses

πŸ“–
\"Łukasz
Łukasz Gandecki

πŸ’» ⚠️ πŸ“–
\"Ivan
Ivan Babak

πŸ› πŸ€”
\"Jesse
Jesse Day

πŸ’»
\"Ernesto
Ernesto GarcΓ­a

πŸ’¬ πŸ’» πŸ“–
\"Josef
Josef Maxx Blake

πŸ’» πŸ“– ⚠️
\"Michal
Michal Baranowski

πŸ“ βœ…
\"Arthur
Arthur Puthin

πŸ“–
\"Thomas
Thomas Chia

πŸ’» πŸ“–
\"Thiago
Thiago Galvani

πŸ“–
\"Christian\"/
Christian

⚠️
\"Alex
Alex Krolick

πŸ’¬ πŸ“– πŸ’‘ πŸ€”
\"Johann
Johann Hubert Sonntagbauer

πŸ’» πŸ“– ⚠️
\"Maddi
Maddi Joyce

πŸ’»
\"Ryan
Ryan Vice

πŸ“–
\"Ian
Ian Wilson

πŸ“ βœ…
\"Daniel\"/
Daniel

πŸ› πŸ’»
\"Giorgio
Giorgio Polvara

πŸ› πŸ€”
\"John
John Gozde

πŸ’»
\"Sam
Sam Horton

πŸ“– πŸ’‘ πŸ€”
\"Richard
Richard Kotze (mobile)

πŸ“–
\"Brahian
Brahian E. Soto Mercedes

πŸ“–
\"Benoit
Benoit de La Forest

πŸ“–
\"Salah\"/
Salah

πŸ’» ⚠️
\"Adam
Adam Gordon

πŸ› πŸ’»
\"Matija
Matija Marohnić

πŸ“–
\"Justice
Justice Mba

πŸ“–
\"Mark
Mark Pollmann

πŸ“–
\"Ehtesham
Ehtesham Kafeel

πŸ’» πŸ“–
\"Julio
Julio PavΓ³n

πŸ’»
\"Duncan
Duncan L

πŸ“– πŸ’‘
\"Tiago
Tiago Almeida

πŸ“–
\"Robert
Robert Smith

πŸ›
\"Zach
Zach Green

πŸ“–
\"dadamssg\"/
dadamssg

πŸ“–
\"Yazan
Yazan Aabed

πŸ“
\"Tim\"/
Tim

πŸ› πŸ’» πŸ“– ⚠️
\"Divyanshu
Divyanshu Maithani

βœ… πŸ“Ή
\"Deepak
Deepak Grover

βœ… πŸ“Ή
\"Eyal
Eyal Cohen

πŸ“–
\"Peter
Peter Makowski

πŸ“–
\"Michiel
Michiel Nuyts

πŸ“–
\"Joe
Joe Ng'ethe

πŸ’» πŸ“–
\"Kate\"/
Kate

πŸ“–
\"Sean\"/
Sean

πŸ“–
\"James
James Long

πŸ€” πŸ“¦
\"Herb
Herb Hagely

πŸ’‘
\"Alex
Alex Wendte

πŸ’‘
\"Monica
Monica Powell

πŸ“–
\"Vitaly
Vitaly Sivkov

πŸ’»
\"Weyert
Weyert de Boer

πŸ€” πŸ‘€ 🎨
\"EstebanMarin\"/
EstebanMarin

πŸ“–
\"Victor
Victor Martins

πŸ“–
\"Royston
Royston Shufflebotham

πŸ› πŸ“– πŸ’‘
\"chrbala\"/
chrbala

πŸ’»
\"Donavon
Donavon West

πŸ’» πŸ“– πŸ€” ⚠️
\"Richard
Richard Maisano

πŸ’»
\"Marco
Marco Biedermann

πŸ’» 🚧 ⚠️
\"Alex
Alex Zherdev

πŸ› πŸ’»
\"AndrΓ©
AndrΓ© Matulionis dos Santos

πŸ’» πŸ’‘ ⚠️
\"Daniel
Daniel K.

πŸ› πŸ’» πŸ€” ⚠️ πŸ‘€
\"mohamedmagdy17593\"/
mohamedmagdy17593

πŸ’»
\"Loren
Loren ☺️

πŸ“–
\"MarkFalconbridge\"/
MarkFalconbridge

πŸ› πŸ’»
\"Vinicius\"/
Vinicius

πŸ“– πŸ’‘
\"Peter
Peter Schyma

πŸ’»
\"Ian
Ian Schmitz

πŸ“–
\"Joel
Joel Marcotte

πŸ› ⚠️ πŸ’»
\"Alejandro
Alejandro Dustet

πŸ›
\"Brandon
Brandon Carroll

πŸ“–
\"Lucas
Lucas Machado

πŸ“–
\"Pascal
Pascal Duez

πŸ“¦
\"Minh
Minh Nguyen

πŸ’»
\"LiaoJimmy\"/
LiaoJimmy

πŸ“–
\"Sunil
Sunil Pai

πŸ’» ⚠️
\"Dan
Dan Abramov

πŸ‘€
\"Christian
Christian Murphy

πŸš‡
\"Ivakhnenko
Ivakhnenko Dmitry

πŸ’»
\"James
James George

πŸ“–
\"JoΓ£o
JoΓ£o Fernandes

πŸ“–
\"Alejandro
Alejandro Perea

πŸ‘€
\"Nick
Nick McCurdy

πŸ‘€ πŸ’¬ πŸš‡
\"Sebastian
Sebastian Silbermann

πŸ‘€
\"AdriΓ 
AdriΓ  Fontcuberta

πŸ‘€ πŸ“–
\"John
John Reilly

πŸ‘€
\"MichaΓ«l
MichaΓ«l De Boey

πŸ‘€ πŸ’»
\"Tim
Tim Yates

πŸ‘€
\"Brian
Brian Donovan

πŸ’»
\"Noam
Noam Gabriel Jacobson

πŸ“–
\"Ronald
Ronald van der Kooij

⚠️ πŸ’»
\"Aayush
Aayush Rajvanshi

πŸ“–
\"Ely
Ely Alamillo

πŸ’» ⚠️
\"Daniel
Daniel Afonso

πŸ’» ⚠️
\"Laurens
Laurens Bosscher

πŸ’»
\"Sakito
Sakito Mukai

πŸ“–
\"TΓΌrker
TΓΌrker Teke

πŸ“–
\"Zach
Zach Brogan

πŸ’» ⚠️
\"Ryota
Ryota Murakami

πŸ“–
\"Michael
Michael Hottman

πŸ€”
\"Steven
Steven Fitzpatrick

πŸ›
\"Juan
Juan Je GarcΓ­a

πŸ“–
\"Championrunner\"/
Championrunner

πŸ“–
\"Sam
Sam Tsai

πŸ’» ⚠️ πŸ“–
\"Christian
Christian Rackerseder

πŸ’»
\"Andrei
Andrei Picus

πŸ› πŸ‘€
\"Artem
Artem Zakharchenko

πŸ“–
\"Michael\"/
Michael

πŸ“–
\"Braden
Braden Lee

πŸ“–
\"Kamran
Kamran Ayub

πŸ’» ⚠️
\"Matan
Matan Borenkraout

πŸ’»
\"Ryan
Ryan Bigg

🚧
\"Anton
Anton Halim

πŸ“–
\"Artem
Artem Malko

πŸ’»
\"Gerrit
Gerrit Alex

πŸ’»
\"Karthick
Karthick Raja

πŸ’»
\"Abdelrahman
Abdelrahman Ashraf

πŸ’»
\"Lidor
Lidor Avitan

πŸ“–
\"Jordan
Jordan Harband

πŸ‘€ πŸ€”
\"Marco
Marco Moretti

πŸ’»
\"sanchit121\"/
sanchit121

πŸ› πŸ’»
\"Solufa\"/
Solufa

πŸ› πŸ’»
\"Ari
Ari PerkkiΓΆ

⚠️
\"Johannes
Johannes Ewald

πŸ’»
\"Angus
Angus J. Pope

πŸ“–
\"Dominik
Dominik Lesch

πŸ“–
\"Marcos
Marcos GΓ³mez

πŸ“–
\"Akash
Akash Shyam

πŸ›
\"Fabian
Fabian Meumertzheim

πŸ’» πŸ›
\"Sebastian
Sebastian Malton

πŸ› πŸ’»
\"Martin
Martin BΓΆttcher

πŸ’»
\"Dominik
Dominik Dorfmeister

πŸ’»
\"Stephen
Stephen Sauceda

πŸ“–
\"Colin
Colin Diesh

πŸ“–
\"Yusuke
Yusuke Iinuma

πŸ’»
\"Jeff
Jeff Way

πŸ’»
\"Bernardo
Bernardo Belchior

πŸ’» πŸ“–
\n\n\n\n\n\n\nThis project follows the [all-contributors][all-contributors] specification.\nContributions of any kind welcome!\n\n## LICENSE\n\n[MIT](LICENSE)\n\n\n\n[npm]: https://www.npmjs.com/\n[yarn]: https://classic.yarnpkg.com\n[node]: https://nodejs.org\n[build-badge]: https://img.shields.io/github/actions/workflow/status/testing-library/react-testing-library/validate.yml?branch=main&logo=github\n[build]: https://github.com/testing-library/react-testing-library/actions?query=workflow%3Avalidate\n[coverage-badge]: https://img.shields.io/codecov/c/github/testing-library/react-testing-library.svg?style=flat-square\n[coverage]: https://codecov.io/github/testing-library/react-testing-library\n[version-badge]: https://img.shields.io/npm/v/@testing-library/react.svg?style=flat-square\n[package]: https://www.npmjs.com/package/@testing-library/react\n[downloads-badge]: https://img.shields.io/npm/dm/@testing-library/react.svg?style=flat-square\n[npmtrends]: http://www.npmtrends.com/@testing-library/react\n[license-badge]: https://img.shields.io/npm/l/@testing-library/react.svg?style=flat-square\n[license]: https://github.com/testing-library/react-testing-library/blob/main/LICENSE\n[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[prs]: http://makeapullrequest.com\n[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square\n[coc]: https://github.com/testing-library/react-testing-library/blob/main/CODE_OF_CONDUCT.md\n[github-watch-badge]: https://img.shields.io/github/watchers/testing-library/react-testing-library.svg?style=social\n[github-watch]: https://github.com/testing-library/react-testing-library/watchers\n[github-star-badge]: https://img.shields.io/github/stars/testing-library/react-testing-library.svg?style=social\n[github-star]: https://github.com/testing-library/react-testing-library/stargazers\n[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20react-testing-library%20by%20%40@TestingLib%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-testing-library%20%F0%9F%91%8D\n[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/testing-library/react-testing-library.svg?style=social\n[emojis]: https://github.com/all-contributors/all-contributors#emoji-key\n[all-contributors]: https://github.com/all-contributors/all-contributors\n[all-contributors-badge]: https://img.shields.io/github/all-contributors/testing-library/react-testing-library?color=orange&style=flat-square\n[guiding-principle]: https://twitter.com/kentcdodds/status/977018512689455106\n[bugs]: https://github.com/testing-library/react-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc\n[requests]: https://github.com/testing-library/react-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen\n[good-first-issue]: https://github.com/testing-library/react-testing-library/issues?utf8=βœ“&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+\n[discord-badge]: https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square\n[discord]: https://discord.gg/testing-library\n[stackoverflow]: https://stackoverflow.com/questions/tagged/react-testing-library\n[react-hooks-testing-library]: https://github.com/testing-library/react-hooks-testing-library\n\n\n", "licenseText": "The MIT License (MIT)\nCopyright (c) 2017-Present Kent C. Dodds\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n" }, "artifacts": [], "remote": { "resolved": "https://registry.yarnpkg.com/@testing-library/react/-/react-16.3.0.tgz#3a85bb9bdebf180cd76dba16454e242564d598a6", "type": "tarball", "reference": "https://registry.yarnpkg.com/@testing-library/react/-/react-16.3.0.tgz", "hash": "3a85bb9bdebf180cd76dba16454e242564d598a6", "integrity": "sha512-kFSyxiEDwv1WLl2fgsq6pPBbw5aWKrsY2/noi1Id0TK0UParSF62oFQFGHXIyaG4pp2tEub/Zlel+fjjZILDsw==", "registry": "npm", "packageName": "@testing-library/react", "cacheIntegrity": "sha512-kFSyxiEDwv1WLl2fgsq6pPBbw5aWKrsY2/noi1Id0TK0UParSF62oFQFGHXIyaG4pp2tEub/Zlel+fjjZILDsw== sha1-OoW7m96/GAzXbboWRU4kJWTVmKY=" }, "registry": "npm", "hash": "3a85bb9bdebf180cd76dba16454e242564d598a6" }