Skip to content

Commit 88d26c3

Browse files
committed
Autofix
1 parent 2b4b8fe commit 88d26c3

File tree

11 files changed

+18
-18
lines changed

11 files changed

+18
-18
lines changed

docs/cypress-testing-library/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add this line to your project's `cypress/support/commands.js`:
2222
import '@testing-library/cypress/add-commands';
2323
```
2424

25-
## With typescript
25+
## With TypeScript
2626

2727
Typings are defined under @testing-library/cypress/typings, and should be added
2828
as follows in tsconfig.json:

docs/dom-testing-library/api-helpers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ and add it here!
8686
getNodeText(node: HTMLElement)
8787
```
8888

89-
Returns the complete text content of a html element, removing any extra
89+
Returns the complete text content of a HTML element, removing any extra
9090
whitespace. The intention is to treat text in nodes exactly as how it is
9191
perceived by users in a browser, where any extra whitespace within words in the
92-
html code is not meaningful when the text is rendered.
92+
HTML code is not meaningful when the text is rendered.
9393

9494
```javascript
9595
// <div>

docs/dom-testing-library/faq.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ with `data-testid`s (which is not bad anyway).
4242

4343
Definitely not. That said, a common reason people don't like the `data-testid`
4444
attribute is they're concerned about shipping that to production. I'd suggest
45-
that you probably want some simple E2E tests that run in production on occasion
46-
to make certain that things are working smoothly. In that case the `data-testid`
47-
attributes will be very useful. Even if you don't run these in production, you
48-
may want to run some E2E tests that run on the same code you're about to ship to
49-
production. In that case, the `data-testid` attributes will be valuable there as
50-
well.
45+
that you probably want some simple end-to-end tests that run in production on
46+
occasion to make certain that things are working smoothly. In that case the
47+
`data-testid` attributes will be very useful. Even if you don't run these in
48+
production, you may want to run some end-to-end tests that run on the same code
49+
you're about to ship to production. In that case, the `data-testid` attributes
50+
will be valuable there as well.
5151

5252
All that said, if you really don't want to ship `data-testid` attributes, then
5353
you can use

docs/marko-testing-library/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ will work with actual DOM nodes. The utilities this library provides facilitate
4242
querying the DOM in the same way the user would. Finding for elements by their
4343
label text (just like a user would), finding links and buttons from their text
4444
(like a user would). It contains a small targeted API and can get out of your
45-
way if absolutely needed with some built in escape hatches.
45+
way if absolutely needed with some built-in escape hatches.
4646

4747
This library encourages your applications to be more accessible and allows you
4848
to get your tests closer to using your components the way a user will, which

docs/marko-testing-library/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = {
4444
For testing components rendered server side we can omit the `browser` option,
4545
however ideally you should also set the
4646
[`testEnvironment option`](https://jestjs.io/docs/en/configuration#testenvironment-string)
47-
to `node` which will disable loading JSDOM globally.
47+
to `node` which will disable loading jsdom globally.
4848

4949
**jest.config.js**
5050

docs/native-testing-library/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ like `React Testing Library` are thin layers over `DOM Testing Library`, this
4545
library needed to have its own base implementation as well as a user-facing API.
4646
This library uses the
4747
[react-test-renderer](https://reactjs.org/docs/test-renderer.html), whereas
48-
`DOM Testing Library` uses ReactDOM and JSDOM. The main philosophy is that you
48+
`DOM Testing Library` uses ReactDOM and jsdom. The main philosophy is that you
4949
should find elements that are on the "screen" the way users would. This approach
5050
is meant to give you confidence that your app is working as a cohesive unit.
5151
Just like the `DOM Testing Library`, `Native Testing Library`'s primary guiding

docs/react-testing-library/cheatsheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ See [Which query should I use?](guide-which-query.md)
106106

107107
## Async
108108

109-
See [dom-testing-library Async API](dom-testing-library/api-async.md)
109+
See [DOM Testing Library Async API](dom-testing-library/api-async.md)
110110

111111
- **wait** (Promise) retry the function within until it stops throwing or times
112112
out

docs/react-testing-library/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ module.exports = {
257257
}
258258
```
259259

260-
_Typescript config needs to be updated as follow:_
260+
_TypeScript config needs to be updated as follow:_
261261

262262
```diff
263263
// tsconfig.json

docs/svelte-testing-library/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: Svelte Testing Library
1010
npm install --save-dev @testing-library/svelte
1111
```
1212

13-
- [svelte-testing-library on GitHub][gh]
13+
- [Svelte Testing Library on GitHub][gh]
1414

1515
## Usage
1616

docs/testcafe-testing-library/intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ testing.
1111
npm install --save-dev testcafe @testing-library/testcafe
1212
```
1313

14-
- [testcafe-testing-library on GitHub][gh]
14+
- [TestCafe Testing Library on GitHub][gh]
1515

1616
## Usage
1717

1818
`testcafe-testing-library` provides custom Selectors allowing you to query the
19-
dom.
19+
DOM.
2020

2121
Add `testcafe-testing-library` to your test fixture's `beforeEach` hook:
2222

0 commit comments

Comments
 (0)