Skip to content

Commit 2978f4a

Browse files
semoalSergio Moreno
andauthored
feat: convert npm to yarn commands on docs (#784)
Co-authored-by: Sergio Moreno <[email protected]>
1 parent 069b362 commit 2978f4a

File tree

30 files changed

+96
-37
lines changed

30 files changed

+96
-37
lines changed

docs/angular-testing-library/intro.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ builds on top of
99
[`DOM Testing Library`](https://github.com/testing-library/dom-testing-library)
1010
by adding APIs for working with Angular components.
1111

12-
```bash
12+
```bash npm2yarn
1313
npm install --save-dev @testing-library/angular
1414
```
1515

docs/bs-react-testing-library/intro.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Bindings for several testing libraries have been ported to [ReasonML][re].
1313
[`bs-dom-testing-library`][gh-dom] contains [BuckleScript][bs] bindings for
1414
`DOM Testing Library`.
1515

16-
```
16+
```bash npm2yarn
1717
npm install --save-dev bs-dom-testing-library
1818
npm install --save-dev bs-react-testing-library
1919
```
@@ -49,7 +49,7 @@ _or_
4949
This is what [BuckleScript][bs] uses to compile the [Reason][re] code to JS. If
5050
it is not in your project you can install it like so:
5151

52-
```
52+
```bash npm2yarn
5353
npm install --save-dev bs-platform
5454
```
5555

@@ -60,7 +60,7 @@ examples here will be using it.
6060

6161
- [bs-jest on GitHub](https://github.com/glennsl/bs-jest)
6262

63-
```
63+
```bash npm2yarn
6464
npm install --save-dev @glennsl/bs-jest
6565
```
6666

docs/cypress-testing-library/intro.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Cypress Testing Library
66
[`Cypress Testing Library`][gh] allows the use of dom-testing queries within
77
[Cypress](https://cypress.io) end-to-end browser tests.
88

9-
```
9+
```bash npm2yarn
1010
npm install --save-dev cypress @testing-library/cypress
1111
```
1212

docs/dom-testing-library/install.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar_label: Install
77
This module is distributed via [npm][npm] which is bundled with [node][node] and
88
should be installed as one of your project's `devDependencies`:
99

10-
```
10+
```bash npm2yarn
1111
npm install --save-dev @testing-library/dom
1212
```
1313

docs/dom-testing-library/setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ to `jsdom` to achieve the same effect, you don't need global-jsdom.
2424

2525
First, install jsdom and global-jsdom.
2626

27-
```
27+
```bash npm2yarn
2828
npm install --save-dev jsdom global-jsdom
2929
```
3030

docs/ecosystem-bs-jest-dom.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: bs-jest-dom
88
custom DOM element matchers for Jest in [ReasonML][re] via
99
[BuckleScript][bucklescript].
1010

11-
```
11+
```bash npm2yarn
1212
npm install --save-dev bs-jest-dom
1313
```
1414

docs/ecosystem-jasmine-dom.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: jasmine-dom
66
[`jasmine-dom`][gh] is a companion library for Testing Library that provides
77
custom DOM element matchers for Jasmine
88

9-
```
9+
```bash npm2yarn
1010
npm install --save-dev @testing-library/jasmine-dom
1111
```
1212

docs/ecosystem-jest-dom.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: jest-dom
66
[`jest-dom`][gh] is a companion library for Testing Library that provides custom
77
DOM element matchers for Jest
88

9-
```
9+
```bash npm2yarn
1010
npm install --save-dev @testing-library/jest-dom
1111
```
1212

docs/ecosystem-jest-native.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar_label: jest-native
88
library for `React Native Testing Library` that provides custom element matchers
99
for Jest.
1010

11-
```
11+
```bash npm2yarn
1212
npm install --save-dev @testing-library/jest-native
1313
```
1414

docs/ecosystem-query-extensions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: query-extensions
77
Library that mixes a higher-level API into the standard `@testing-library` core
88
queries
99

10-
```
10+
```bash npm2yarn
1111
npm install --save-dev query-extensions
1212
```
1313

0 commit comments

Comments
 (0)