{"bugs":{"url":"https://github.com/kentcdodds/dom-testing-library/issues"},"dist":{"shasum":"c45f7ecfdde10eb17f2b810a9a9840c2e5522df9","tarball":"https://registry.npmjs.org/dom-testing-library/-/dom-testing-library-4.0.0-alpha.0.tgz","fileCount":66,"integrity":"sha512-tJRQVKtBujrUXxReJcXybVPfLAhYg7BcwrHlc/Vf3mkPIeVW++fq4ZtF48N9z3bLqD+rUtKrAVV+6CdYsww/og==","signatures":[{"sig":"MEQCIEiH/Fa5d+8fcasLkZJHwIoe56CVSfrHvq+6M3vXUBgaAiBel8bf1hKKVOUlukB/OomOldhr4OutJE+FIanNqGM5Yw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":253676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuQYCCRA9TVsSAnZWagAAZOUP/iorcUO5z5kkv6iIXzIm\n1WJ10zu+X2K2qgIZyp3f2Lmd6Zx92kaJ17JZZiCI5MvujzLfMOSRrlZnmHm7\nRLTuEhn90xiaVwRF6ElAL8aQwJFIiAHGocPSZs2IaiFgHxNGwkbB9LKMDKo4\nRvO7PVVVH65Az9aycrKxHpa5H8h/Qnw+BrqVtJxFBADng9wjMw9PQrU7I1Dt\ntePp4z6L8Rc4nxwLTJsB9U24zM2Lh1odJZMeiDq6basLDkH8gc3zoVa/sFQo\nnzHuft1hIghtCNLdJS+FXQi2+oD31pPN2Xaf4B66n+wsdR16vbaXkAOwziit\njGdcAkcR+WO2MyLbku0lEz53BiIv7QsK8w5xmO1/kHK5xmjvBcsJmxlEPlZE\n1La9Uel6OG1fJhNHCscrLLTDUOtRNSdIYpQNNltllPJAewYXzGV7u/F8jzP/\nb0jF+atMe8fLHdG2FN4PS/oqQJiaZxvQFRLKgwEpvYLUUKCceFOz4SNuEP1v\nc1H3bEvEdl9GxCmJczFWjQKrllT2+OLIRwoFv2qBswu4bsDALU9bpMOoiswm\nqoMWGg7FQlRVHLdYAI2DuyKzM05KQGhMwJmNVFCk7PoTW6dHBHXiynleShAr\ndzIHYiXu6icb2VyEj9G8F3CpK3kwNNitYEktiDefk+YdySb6oRsic13msQ/S\nv1gP\r\n=CAXd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","name":"dom-testing-library","husky":{"hooks":{"pre-commit":"kcd-scripts pre-commit"}},"author":{"url":"http://kentcdodds.com/","name":"Kent C. Dodds","email":"kent@doddsfamily.us"},"module":"dist/dom-testing-library.esm.js","readme":"<div align=\"center\">\n<h1>dom-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f419\">\n<img height=\"80\" width=\"80\" alt=\"octopus\" src=\"https://raw.githubusercontent.com/kentcdodds/dom-testing-library/master/other/octopus.png\" />\n</a>\n\n<p>Simple and complete DOM testing utilities that encourage good testing practices.</p>\n\n[**Read the docs**](https://testing-library.com/) | [Edit the docs](https://github.com/alexkrolick/testing-library-docs)\n\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\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\n[![All Contributors](https://img.shields.io/badge/all_contributors-54-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome][prs-badge]][prs]\n[![Code of Conduct][coc-badge]][coc]\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<!-- prettier-ignore-end -->\n\n<div align=\"center\">\n<a href=\"https://testingjavascript.com\">\n<img width=\"500\" alt=\"TestingJavaScript.com Learn the smart, efficient way to test any JavaScript application.\" src=\"https://raw.githubusercontent.com/kentcdodds/dom-testing-library/master/other/testingjavascript.jpg\" />\n</a>\n</div>\n\n## Table of Contents\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [The Problem](#the-problem)\n- [This Solution](#this-solution)\n- [Installation](#installation)\n- [Implementations](#implementations)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The Problem\n\nYou want to write maintainable tests for your Web UI. As a part of\nthis goal, you want your tests to avoid including implementation details of\nyour components and rather focus on making your tests give you the confidence\nfor which 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## This Solution\n\nThe `dom-testing-library` is a very light-weight solution for testing DOM nodes\n(whether simulated with [`JSDOM`](https://github.com/jsdom/jsdom) as provided by\ndefault with [Jest][] or in the browser). The main utilities it provides involve\nquerying the DOM for nodes in a way that's similar to how the user finds\nelements on the page. In this way, the library helps ensure your tests give you\nconfidence in your UI code. The `dom-testing-library`'s primary guiding\nprinciple is:\n\n> [The more your tests resemble the way your software is used, the more 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`:\n\n```\nnpm install --save-dev dom-testing-library\n```\n\n> [**Docs**](https://testing-library.com/docs/install)\n\n## Implementations\n\nThis library was not built to be used on its own. The original implementation\nof these utilities was in the `react-testing-library`.\n\nImplementations include:\n\n- [`react-testing-library`](https://github.com/kentcdodds/react-testing-library)\n- [`pptr-testing-library`](https://github.com/patrickhulce/pptr-testing-library)\n- [`cypress-testing-library`](https://github.com/kentcdodds/cypress-testing-library)\n- [`vue-testing-library`](https://github.com/dfcook/vue-testing-library)\n- [`snabbdom-testing-library`](https://github.com/lukaszmakuch/snabbdom-testing-library)\n\n## Other Solutions\n\n- [browser-monkey](https://github.com/featurist/browser-monkey)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more 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 web pages 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 the application components in the\n    way the user would use it. We _are_ making some trade-offs here because\n    we're using a computer and often a simulated browser environment, but in\n    general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nAt the end of the day, what we want is for this library to be pretty\nlight-weight, simple, and understandable.\n\n## Contributors\n\nThanks goes to these people ([emoji key][emojis]):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=kentcdodds\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=kentcdodds\" title=\"Documentation\">📖</a> <a href=\"#infra-kentcdodds\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=kentcdodds\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://audiolion.github.io\"><img src=\"https://avatars1.githubusercontent.com/u/2430381?v=4\" width=\"100px;\" alt=\"Ryan Castner\"/><br /><sub><b>Ryan Castner</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=audiolion\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://www.dnlsandiego.com\"><img src=\"https://avatars0.githubusercontent.com/u/8008023?v=4\" width=\"100px;\" alt=\"Daniel Sandiego\"/><br /><sub><b>Daniel Sandiego</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=dnlsandiego\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/Miklet\"><img src=\"https://avatars2.githubusercontent.com/u/12592677?v=4\" width=\"100px;\" alt=\"Paweł Mikołajczyk\"/><br /><sub><b>Paweł Mikołajczyk</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=Miklet\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://co.linkedin.com/in/alejandronanez/\"><img src=\"https://avatars3.githubusercontent.com/u/464978?v=4\" width=\"100px;\" alt=\"Alejandro Ñáñez Ortiz\"/><br /><sub><b>Alejandro Ñáñez Ortiz</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=alejandronanez\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/pbomb\"><img src=\"https://avatars0.githubusercontent.com/u/1402095?v=4\" width=\"100px;\" alt=\"Matt Parrish\"/><br /><sub><b>Matt Parrish</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/issues?q=author%3Apbomb\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=pbomb\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=pbomb\" title=\"Documentation\">📖</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=pbomb\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"https://github.com/wKovacs64\"><img src=\"https://avatars1.githubusercontent.com/u/1288694?v=4\" width=\"100px;\" alt=\"Justin Hall\"/><br /><sub><b>Justin Hall</b></sub></a><br /><a href=\"#platform-wKovacs64\" title=\"Packaging/porting to new platform\">📦</a></td></tr><tr><td align=\"center\"><a href=\"https://github.com/antoaravinth\"><img src=\"https://avatars1.githubusercontent.com/u/1241511?s=460&v=4\" width=\"100px;\" alt=\"Anto Aravinth\"/><br /><sub><b>Anto Aravinth</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=antoaravinth\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=antoaravinth\" title=\"Tests\">⚠️</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=antoaravinth\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/JonahMoses\"><img src=\"https://avatars2.githubusercontent.com/u/3462296?v=4\" width=\"100px;\" alt=\"Jonah Moses\"/><br /><sub><b>Jonah Moses</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=JonahMoses\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"http://team.thebrain.pro\"><img src=\"https://avatars1.githubusercontent.com/u/4002543?v=4\" width=\"100px;\" alt=\"Łukasz Gandecki\"/><br /><sub><b>Łukasz Gandecki</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=lgandecki\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=lgandecki\" title=\"Tests\">⚠️</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=lgandecki\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://sompylasar.github.io\"><img src=\"https://avatars2.githubusercontent.com/u/498274?v=4\" width=\"100px;\" alt=\"Ivan Babak\"/><br /><sub><b>Ivan Babak</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/issues?q=author%3Asompylasar\" title=\"Bug reports\">🐛</a> <a href=\"#ideas-sompylasar\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=sompylasar\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=sompylasar\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/jday3\"><img src=\"https://avatars3.githubusercontent.com/u/4439618?v=4\" width=\"100px;\" alt=\"Jesse Day\"/><br /><sub><b>Jesse Day</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=jday3\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://gnapse.github.io\"><img src=\"https://avatars0.githubusercontent.com/u/15199?v=4\" width=\"100px;\" alt=\"Ernesto García\"/><br /><sub><b>Ernesto García</b></sub></a><br /><a href=\"#question-gnapse\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=gnapse\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=gnapse\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"http://jomaxx.com\"><img src=\"https://avatars2.githubusercontent.com/u/2747424?v=4\" width=\"100px;\" alt=\"Josef Maxx Blake\"/><br /><sub><b>Josef Maxx Blake</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=jomaxx\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=jomaxx\" title=\"Documentation\">📖</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=jomaxx\" title=\"Tests\">⚠️</a></td></tr><tr><td align=\"center\"><a href=\"https://github.com/alecook\"><img src=\"https://avatars3.githubusercontent.com/u/725236?v=4\" width=\"100px;\" alt=\"Alex Cook\"/><br /><sub><b>Alex Cook</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=alecook\" title=\"Documentation\">📖</a> <a href=\"#example-alecook\" title=\"Examples\">💡</a> <a href=\"#review-alecook\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://github.com/dfcook\"><img src=\"https://avatars3.githubusercontent.com/u/10348212?v=4\" width=\"100px;\" alt=\"Daniel Cook\"/><br /><sub><b>Daniel Cook</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=dfcook\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=dfcook\" title=\"Documentation\">📖</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=dfcook\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"https://github.com/thchia\"><img src=\"https://avatars2.githubusercontent.com/u/21194045?s=400&v=4\" width=\"100px;\" alt=\"Thomas Chia\"/><br /><sub><b>Thomas Chia</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/issues?q=author%3Athchia\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=thchia\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/tdeschryver\"><img src=\"https://avatars1.githubusercontent.com/u/28659384?v=4\" width=\"100px;\" alt=\"Tim Deschryver\"/><br /><sub><b>Tim Deschryver</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=tdeschryver\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=tdeschryver\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"https://alexkrolick.com\"><img src=\"https://avatars3.githubusercontent.com/u/1571667?v=4\" width=\"100px;\" alt=\"Alex Krolick\"/><br /><sub><b>Alex Krolick</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=alexkrolick\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://www.maddijoyce.com\"><img src=\"https://avatars2.githubusercontent.com/u/2224291?v=4\" width=\"100px;\" alt=\"Maddi Joyce\"/><br /><sub><b>Maddi Joyce</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=maddijoyce\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/npeterkamps\"><img src=\"https://avatars1.githubusercontent.com/u/25429764?v=4\" width=\"100px;\" alt=\"Peter Kamps\"/><br /><sub><b>Peter Kamps</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/issues?q=author%3Anpeterkamps\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=npeterkamps\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=npeterkamps\" title=\"Tests\">⚠️</a></td></tr><tr><td align=\"center\"><a href=\"http://jonathanstoye.de\"><img src=\"https://avatars2.githubusercontent.com/u/21689428?v=4\" width=\"100px;\" alt=\"Jonathan Stoye\"/><br /><sub><b>Jonathan Stoye</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=JonathanStoye\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/yongdamsh\"><img src=\"https://avatars2.githubusercontent.com/u/4126644?v=4\" width=\"100px;\" alt=\"Sanghyeon Lee\"/><br /><sub><b>Sanghyeon Lee</b></sub></a><br /><a href=\"#example-yongdamsh\" title=\"Examples\">💡</a></td><td align=\"center\"><a href=\"https://github.com/Dajust\"><img src=\"https://avatars3.githubusercontent.com/u/8015514?v=4\" width=\"100px;\" alt=\"Justice Mba \"/><br /><sub><b>Justice Mba </b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=Dajust\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=Dajust\" title=\"Documentation\">📖</a> <a href=\"#ideas-Dajust\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/wgcrouch\"><img src=\"https://avatars3.githubusercontent.com/u/340761?v=4\" width=\"100px;\" alt=\"Wayne Crouch\"/><br /><sub><b>Wayne Crouch</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=wgcrouch\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://benjaminelliott.co.uk\"><img src=\"https://avatars1.githubusercontent.com/u/4996462?v=4\" width=\"100px;\" alt=\"Ben Elliott\"/><br /><sub><b>Ben Elliott</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=benelliott\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://nuances.co\"><img src=\"https://avatars3.githubusercontent.com/u/577921?v=4\" width=\"100px;\" alt=\"Ruben Costa\"/><br /><sub><b>Ruben Costa</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=rubencosta\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://rbrtsmith.com/\"><img src=\"https://avatars2.githubusercontent.com/u/4982001?v=4\" width=\"100px;\" alt=\"Robert Smith\"/><br /><sub><b>Robert Smith</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/issues?q=author%3Arbrtsmith\" title=\"Bug reports\">🐛</a> <a href=\"#ideas-rbrtsmith\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=rbrtsmith\" title=\"Documentation\">📖</a></td></tr><tr><td align=\"center\"><a href=\"https://github.com/dadamssg\"><img src=\"https://avatars3.githubusercontent.com/u/881986?v=4\" width=\"100px;\" alt=\"dadamssg\"/><br /><sub><b>dadamssg</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=dadamssg\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://neilkistner.com/\"><img src=\"https://avatars1.githubusercontent.com/u/186971?v=4\" width=\"100px;\" alt=\"Neil Kistner\"/><br /><sub><b>Neil Kistner</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=wyze\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://bdchauvette.net/\"><img src=\"https://avatars3.githubusercontent.com/u/1448597?v=4\" width=\"100px;\" alt=\"Ben Chauvette\"/><br /><sub><b>Ben Chauvette</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=bdchauvette\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/JeffBaumgardt\"><img src=\"https://avatars2.githubusercontent.com/u/777527?v=4\" width=\"100px;\" alt=\"Jeff Baumgardt\"/><br /><sub><b>Jeff Baumgardt</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=JeffBaumgardt\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=JeffBaumgardt\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"http://matchai.me\"><img src=\"https://avatars0.githubusercontent.com/u/4658208?v=4\" width=\"100px;\" alt=\"Matan Kushner\"/><br /><sub><b>Matan Kushner</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=matchai\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=matchai\" title=\"Documentation\">📖</a> <a href=\"#ideas-matchai\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=matchai\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://www.wendtedesigns.com/\"><img src=\"https://avatars2.githubusercontent.com/u/5779538?v=4\" width=\"100px;\" alt=\"Alex Wendte\"/><br /><sub><b>Alex Wendte</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=themostcolm\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=themostcolm\" title=\"Documentation\">📖</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=themostcolm\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"https://github.com/ruffle1986\"><img src=\"https://avatars0.githubusercontent.com/u/2196208?v=4\" width=\"100px;\" alt=\"Tamas Fodor\"/><br /><sub><b>Tamas Fodor</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=ruffle1986\" title=\"Documentation\">📖</a></td></tr><tr><td align=\"center\"><a href=\"https://github.com/BenjaminEckardt\"><img src=\"https://avatars3.githubusercontent.com/u/14793495?v=4\" width=\"100px;\" alt=\"Benjamin Eckardt\"/><br /><sub><b>Benjamin Eckardt</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=BenjaminEckardt\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/campbellr\"><img src=\"https://avatars3.githubusercontent.com/u/205752?v=4\" width=\"100px;\" alt=\"Ryan Campbell\"/><br /><sub><b>Ryan Campbell</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=campbellr\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://taylor-briggs.com\"><img src=\"https://avatars2.githubusercontent.com/u/1335519?v=4\" width=\"100px;\" alt=\"Taylor Briggs\"/><br /><sub><b>Taylor Briggs</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=TaylorBriggs\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"https://github.com/jgoz\"><img src=\"https://avatars2.githubusercontent.com/u/132233?v=4\" width=\"100px;\" alt=\"John Gozde\"/><br /><sub><b>John Gozde</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=jgoz\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/chentsulin\"><img src=\"https://avatars2.githubusercontent.com/u/3382565?v=4\" width=\"100px;\" alt=\"C. T. Lin\"/><br /><sub><b>C. T. Lin</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=chentsulin\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"http://terrencewwong.com\"><img src=\"https://avatars3.githubusercontent.com/u/5312329?v=4\" width=\"100px;\" alt=\"Terrence Wong\"/><br /><sub><b>Terrence Wong</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=terrencewwong\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://www.ossfinder.com\"><img src=\"https://avatars0.githubusercontent.com/u/12230408?v=4\" width=\"100px;\" alt=\"Soo Jae Hwang\"/><br /><sub><b>Soo Jae Hwang</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=misoguy\" title=\"Code\">💻</a></td></tr><tr><td align=\"center\"><a href=\"https://github.com/RoystonS\"><img src=\"https://avatars0.githubusercontent.com/u/19773?v=4\" width=\"100px;\" alt=\"Royston Shufflebotham\"/><br /><sub><b>Royston Shufflebotham</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/issues?q=author%3ARoystonS\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=RoystonS\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=RoystonS\" title=\"Documentation\">📖</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=RoystonS\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://www.vadimbrodsky.com\"><img src=\"https://avatars0.githubusercontent.com/u/591673?v=4\" width=\"100px;\" alt=\"Vadim Brodsky\"/><br /><sub><b>Vadim Brodsky</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=VadimBrodsky\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://twitter.com/eunjae_lee\"><img src=\"https://avatars3.githubusercontent.com/u/499898?v=4\" width=\"100px;\" alt=\"Eunjae Lee\"/><br /><sub><b>Eunjae Lee</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=eunjae-lee\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://davidpeter.me\"><img src=\"https://avatars2.githubusercontent.com/u/167743?v=4\" width=\"100px;\" alt=\"David Peter\"/><br /><sub><b>David Peter</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=sarenji\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://twitter.com/@puemos\"><img src=\"https://avatars0.githubusercontent.com/u/13174025?v=4\" width=\"100px;\" alt=\"Shy Alter\"/><br /><sub><b>Shy Alter</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=puemos\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=puemos\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://lukaszmakuch.pl\"><img src=\"https://avatars1.githubusercontent.com/u/11966621?v=4\" width=\"100px;\" alt=\"Łukasz Makuch\"/><br /><sub><b>Łukasz Makuch</b></sub></a><br /><a href=\"#platform-lukaszmakuch\" title=\"Packaging/porting to new platform\">📦</a></td><td align=\"center\"><a href=\"https://github.com/tylerthehaas\"><img src=\"https://avatars1.githubusercontent.com/u/11150235?v=4\" width=\"100px;\" alt=\"Tyler Haas\"/><br /><sub><b>Tyler Haas</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=tylerthehaas\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=tylerthehaas\" title=\"Tests\">⚠️</a></td></tr><tr><td align=\"center\"><a href=\"http://vesalaakso.com\"><img src=\"https://avatars2.githubusercontent.com/u/482561?v=4\" width=\"100px;\" alt=\"Vesa Laakso\"/><br /><sub><b>Vesa Laakso</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=valscion\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=valscion\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"https://github.com/Tolsee\"><img src=\"https://avatars0.githubusercontent.com/u/16590492?v=4\" width=\"100px;\" alt=\"Tulsi Sapkota\"/><br /><sub><b>Tulsi Sapkota</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=Tolsee\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/tnunes\"><img src=\"https://avatars1.githubusercontent.com/u/163187?v=4\" width=\"100px;\" alt=\"Tiago Nunes\"/><br /><sub><b>Tiago Nunes</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=tnunes\" title=\"Code\">💻</a> <a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=tnunes\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"https://github.com/JaxCavalera\"><img src=\"https://avatars1.githubusercontent.com/u/15429762?v=4\" width=\"100px;\" alt=\"JaxCavalera\"/><br /><sub><b>JaxCavalera</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=JaxCavalera\" title=\"Code\">💻</a> <a href=\"#review-JaxCavalera\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://github.com/bopfer\"><img src=\"https://avatars2.githubusercontent.com/u/824368?v=4\" width=\"100px;\" alt=\"bopfer\"/><br /><sub><b>bopfer</b></sub></a><br /><a href=\"https://github.com/kentcdodds/dom-testing-library/commits?author=bopfer\" title=\"Tests\">⚠️</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors][all-contributors] specification.\nContributions of any kind welcome!\n\n## LICENSE\n\nMIT\n\n[npm]: https://www.npmjs.com/\n[node]: https://nodejs.org\n[build-badge]: https://img.shields.io/travis/kentcdodds/dom-testing-library.svg?style=flat-square\n[build]: https://travis-ci.org/kentcdodds/dom-testing-library\n[coverage-badge]: https://img.shields.io/codecov/c/github/kentcdodds/dom-testing-library.svg?style=flat-square\n[coverage]: https://codecov.io/github/kentcdodds/dom-testing-library\n[version-badge]: https://img.shields.io/npm/v/dom-testing-library.svg?style=flat-square\n[package]: https://www.npmjs.com/package/dom-testing-library\n[downloads-badge]: https://img.shields.io/npm/dm/dom-testing-library.svg?style=flat-square\n[npmtrends]: http://www.npmtrends.com/dom-testing-library\n[license-badge]: https://img.shields.io/npm/l/dom-testing-library.svg?style=flat-square\n[license]: https://github.com/kentcdodds/dom-testing-library/blob/master/LICENSE\n[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[prs]: http://makeapullrequest.com\n[donate-badge]: https://img.shields.io/badge/$-support-green.svg?style=flat-square\n[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square\n[coc]: https://github.com/kentcdodds/dom-testing-library/blob/master/CODE_OF_CONDUCT.md\n[github-watch-badge]: https://img.shields.io/github/watchers/kentcdodds/dom-testing-library.svg?style=social\n[github-watch]: https://github.com/kentcdodds/dom-testing-library/watchers\n[github-star-badge]: https://img.shields.io/github/stars/kentcdodds/dom-testing-library.svg?style=social\n[github-star]: https://github.com/kentcdodds/dom-testing-library/stargazers\n[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20dom-testing-library%20by%20%40kentcdodds%20https%3A%2F%2Fgithub.com%2Fkentcdodds%2Fdom-testing-library%20%F0%9F%91%8D\n[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/kentcdodds/dom-testing-library.svg?style=social\n[emojis]: https://github.com/kentcdodds/all-contributors#emoji-key\n[all-contributors]: https://github.com/kentcdodds/all-contributors\n[set-immediate]: https://developer.mozilla.org/en-US/docs/Web/API/Window/setImmediate\n[guiding-principle]: https://twitter.com/kentcdodds/status/977018512689455106\n[data-testid-blog-post]: https://blog.kentcdodds.com/making-your-ui-tests-resilient-to-change-d37a6ee37269\n[jest]: https://facebook.github.io/jest\n","source":"src/index.js","engines":{"node":">=8"},"gitHead":"21fdfde7b2efc02ac7a00998e6400504332cf16a","license":"MIT","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build && kcd-scripts build --bundle --no-clean","setup":"npm install && npm run validate -s","dtslint":"dtslint typings","validate":"kcd-scripts validate","test:update":"npm test -- --updateSnapshot --coverage"},"typings":"typings","_npmUser":{"name":"kentcdodds","email":"kent@doddsfamily.us"},"homepage":"https://github.com/kentcdodds/dom-testing-library#readme","keywords":["testing","ui","dom","jsdom","unit","integration","functional","end-to-end","e2e"],"umd:main":"dist/dom-testing-library.umd.js","repository":{"url":"git+https://github.com/kentcdodds/dom-testing-library.git","type":"git"},"_npmVersion":"6.9.0","description":"Simple and complete DOM testing utilities that encourage good testing practices.","directories":{},"maintainers":[{"name":"kentcdodds","email":"kent@doddsfamily.us"}],"_nodeVersion":"10.15.3","dependencies":{"pretty-format":"^24.5.0","@babel/runtime":"^7.3.4","wait-for-expect":"^1.1.0","@sheerun/mutationobserver-shim":"^0.3.2"},"eslintConfig":{"rules":{"import/no-unassigned-import":"off","import/prefer-default-export":"off","import/no-useless-path-segments":"off"},"extends":"./node_modules/kcd-scripts/eslint.js"},"eslintIgnore":["node_modules","coverage","dist"],"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"dtslint":"^0.5.3","jest-dom":"^3.1.2","kcd-scripts":"^1.1.0","jest-in-case":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/dom-testing-library_4.0.0-alpha.0_1555629569090_0.5997102492951105","host":"s3://npm-registry-packages"},"_id":"dom-testing-library@4.0.0-alpha.0","version":"4.0.0-alpha.0"}