Skip to content

Commit b53c903

Browse files
benmonroKent C. Dodds
authored and
Kent C. Dodds
committed
updated testcafe docs for new name (#127)
1 parent c64ef79 commit b53c903

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/testcafe-testing-library/intro.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: Testcafe Testing Library
88
testing.
99

1010
```
11-
npm install --save-dev testcafe testcafe-testing-library
11+
npm install --save-dev testcafe @testing-library/testcafe
1212
```
1313

1414
- [testcafe-testing-library on GitHub][gh]
@@ -24,7 +24,7 @@ Add `testcafe-testing-library` to your test fixture's `beforeEach` hook:
2424
import {
2525
getByText, //or any other queries you want
2626
addTestcafeTestingLibrary,
27-
} from 'testcafe-testing-library'
27+
} from '@testing-library/testcafe'
2828

2929
fixture`selectors`.beforeEach(addTestcafeTestingLibrary)
3030
.page`http://localhost:13370`
@@ -69,7 +69,7 @@ assertions on it like you can using a `Selector`.
6969
### Examples using `within`
7070

7171
```javascript
72-
import { within, addTestcafeTestingLibrary } from 'testcafe-testing-library'
72+
import { within, addTestcafeTestingLibrary } from '@testing-library/testcafe'
7373

7474
fixture`within`.beforeEach(addTestcafeTestingLibrary)
7575
.page`http://localhost:13370`

0 commit comments

Comments
 (0)