@testing-library/cypress
Advanced tools
Comparing version 4.1.1 to 4.2.0
@@ -8,2 +8,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "configure", { | ||
enumerable: true, | ||
get: function () { | ||
return _dom.configure; | ||
} | ||
}); | ||
exports.commands = void 0; | ||
@@ -10,0 +16,0 @@ |
{ | ||
"name": "@testing-library/cypress", | ||
"version": "4.1.1", | ||
"version": "4.2.0", | ||
"description": "Simple and complete custom Cypress commands and utilities that encourage good testing practices.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
<div align="center"> | ||
<h1>cypress-testing-library</h1> | ||
<h1>Cypress Testing Library</h1> | ||
@@ -28,3 +28,3 @@ <a href="https://www.emojione.com/emoji/1f405"> | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-21-orange.svg?style=flat-square)](#contributors) | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-22-orange.svg?style=flat-square)](#contributors) | ||
[![PRs Welcome][prs-badge]][prs] [![Code of Conduct][coc-badge]][coc] | ||
@@ -48,3 +48,3 @@ | ||
You want to use [`dom-testing-library`][dom-testing-library] methods in your | ||
You want to use [`DOM Testing Library`][dom-testing-library] methods in your | ||
[Cypress][cypress] tests. | ||
@@ -55,3 +55,3 @@ | ||
This allows you to use all the useful | ||
[`dom-testing-library`][dom-testing-library] methods in your tests. | ||
[`DOM Testing Library`][dom-testing-library] methods in your tests. | ||
@@ -97,3 +97,3 @@ ## Table of Contents | ||
`cypress-testing-library` extends Cypress' `cy` command. | ||
`Cypress Testing Library` extends Cypress' `cy` command. | ||
@@ -103,8 +103,8 @@ Add this line to your project's `cypress/support/commands.js`: | ||
``` | ||
import '@testing-library/cypress/add-commands'; | ||
import '@testing-library/cypress/add-commands' | ||
``` | ||
You can now use all of `dom-testing-library`'s `getBy`, `getAllBy`, `queryBy` | ||
You can now use all of `DOM Testing Library`'s `getBy`, `getAllBy`, `queryBy` | ||
and `queryAllBy` commands. | ||
[See the `dom-testing-library` docs for reference](https://testing-library.com) | ||
[See the `DOM Testing Library` docs for reference](https://testing-library.com) | ||
@@ -129,7 +129,7 @@ You can find [all Library definitions here](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/testing-library__cypress/index.d.ts). | ||
`cypress-testing-library` supports both jQuery elements and DOM nodes. This is | ||
necessary because Cypress uses jQuery elements, while `dom-testing-library` | ||
`Cypress Testing Library` supports both jQuery elements and DOM nodes. This is | ||
necessary because Cypress uses jQuery elements, while `DOM Testing Library` | ||
expects DOM nodes. When you pass a jQuery element as `container`, it will get | ||
the first DOM node from the collection and use that as the `container` parameter | ||
for the `dom-testing-library` functions. | ||
for the `DOM Testing Library` functions. | ||
@@ -173,4 +173,7 @@ ## Other Solutions | ||
<td align="center"><a href="https://simjes.dev/"><img src="https://avatars0.githubusercontent.com/u/6494049?v=4" width="100px;" alt="Simon Jespersen"/><br /><sub><b>Simon Jespersen</b></sub></a><br /><a href="https://github.com/testing-library/cypress-testing-library/commits?author=simjes" title="Code">💻</a> <a href="#review-simjes" title="Reviewed Pull Requests">👀</a></td> | ||
<td align="center"><a href="https://afontcu.dev"><img src="https://avatars0.githubusercontent.com/u/9197791?v=4" width="100px;" alt="Adrià Fontcuberta"/><br /><sub><b>Adrià Fontcuberta</b></sub></a><br /><a href="#infra-afontcu" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td> | ||
<td align="center"><a href="https://afontcu.dev"><img src="https://avatars0.githubusercontent.com/u/9197791?v=4" width="100px;" alt="Adrià Fontcuberta"/><br /><sub><b>Adrià Fontcuberta</b></sub></a><br /><a href="#infra-afontcu" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/testing-library/cypress-testing-library/commits?author=afontcu" title="Documentation">📖</a></td> | ||
</tr> | ||
<tr> | ||
<td align="center"><a href="https://github.com/Megoos"><img src="https://avatars2.githubusercontent.com/u/9866017?v=4" width="100px;" alt="Mikhail Guskov"/><br /><sub><b>Mikhail Guskov</b></sub></a><br /><a href="https://github.com/testing-library/cypress-testing-library/issues?q=author%3AMegoos" title="Bug reports">🐛</a></td> | ||
</tr> | ||
</table> | ||
@@ -225,4 +228,4 @@ | ||
[emojis]: https://github.com/kentcdodds/all-contributors#emoji-key | ||
[all-contributors]: https://github.com/kentcdodds/all-contributors | ||
[all-contributors]: https://github.com/all-contributors/all-contributors | ||
[dom-testing-library]: https://github.com/testing-library/dom-testing-library | ||
[cypress]: https://www.cypress.io/ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22892
104
224
1