Skip to content

Commit 7cbc706

Browse files
afontcuKent C. Dodds
authored andcommitted
docs: update names and links (#71)
1 parent ad90090 commit 7cbc706

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div align="center">
2-
<h1>cypress-testing-library</h1>
2+
<h1>Cypress Testing Library</h1>
33

44
<a href="https://www.emojione.com/emoji/1f405">
55
<img
@@ -44,13 +44,13 @@ testing practices.</p>
4444

4545
## The problem
4646

47-
You want to use [`dom-testing-library`][dom-testing-library] methods in your
47+
You want to use [`DOM Testing Library`][dom-testing-library] methods in your
4848
[Cypress][cypress] tests.
4949

5050
## This solution
5151

5252
This allows you to use all the useful
53-
[`dom-testing-library`][dom-testing-library] methods in your tests.
53+
[`DOM Testing Library`][dom-testing-library] methods in your tests.
5454

5555
## Table of Contents
5656

@@ -91,17 +91,17 @@ and should be added as follows in `tsconfig.json`:
9191

9292
## Usage
9393

94-
`cypress-testing-library` extends Cypress' `cy` command.
94+
`Cypress Testing Library` extends Cypress' `cy` command.
9595

9696
Add this line to your project's `cypress/support/commands.js`:
9797

9898
```
99-
import '@testing-library/cypress/add-commands';
99+
import '@testing-library/cypress/add-commands'
100100
```
101101

102-
You can now use all of `dom-testing-library`'s `getBy`, `getAllBy`, `queryBy`
102+
You can now use all of `DOM Testing Library`'s `getBy`, `getAllBy`, `queryBy`
103103
and `queryAllBy` commands.
104-
[See the `dom-testing-library` docs for reference](https://testing-library.com)
104+
[See the `DOM Testing Library` docs for reference](https://testing-library.com)
105105

106106
You can find [all Library definitions here](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/testing-library__cypress/index.d.ts).
107107

@@ -121,11 +121,11 @@ cy.get('form').then(subject => {
121121
})
122122
```
123123

124-
`cypress-testing-library` supports both jQuery elements and DOM nodes. This is
125-
necessary because Cypress uses jQuery elements, while `dom-testing-library`
124+
`Cypress Testing Library` supports both jQuery elements and DOM nodes. This is
125+
necessary because Cypress uses jQuery elements, while `DOM Testing Library`
126126
expects DOM nodes. When you pass a jQuery element as `container`, it will get
127127
the first DOM node from the collection and use that as the `container` parameter
128-
for the `dom-testing-library` functions.
128+
for the `DOM Testing Library` functions.
129129

130130
## Other Solutions
131131

@@ -215,6 +215,6 @@ MIT
215215
[twitter-badge]:
216216
https://img.shields.io/twitter/url/https/github.com/testing-library/cypress-testing-library.svg?style=social
217217
[emojis]: https://github.com/kentcdodds/all-contributors#emoji-key
218-
[all-contributors]: https://github.com/kentcdodds/all-contributors
218+
[all-contributors]: https://github.com/all-contributors/all-contributors
219219
[dom-testing-library]: https://github.com/testing-library/dom-testing-library
220220
[cypress]: https://www.cypress.io/

0 commit comments

Comments
 (0)