File tree 1 file changed +3
-3
lines changed
docs/testcafe-testing-library
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ title: Testcafe Testing Library
8
8
testing.
9
9
10
10
```
11
- npm install --save-dev testcafe testcafe- testing-library
11
+ npm install --save-dev testcafe @ testing-library/testcafe
12
12
```
13
13
14
14
- [ testcafe-testing-library on GitHub] [ gh ]
@@ -24,7 +24,7 @@ Add `testcafe-testing-library` to your test fixture's `beforeEach` hook:
24
24
import {
25
25
getByText , // or any other queries you want
26
26
addTestcafeTestingLibrary ,
27
- } from ' testcafe- testing-library'
27
+ } from ' @ testing-library/testcafe '
28
28
29
29
fixture` selectors` .beforeEach (addTestcafeTestingLibrary)
30
30
.page ` http://localhost:13370`
@@ -69,7 +69,7 @@ assertions on it like you can using a `Selector`.
69
69
### Examples using ` within `
70
70
71
71
``` javascript
72
- import { within , addTestcafeTestingLibrary } from ' testcafe- testing-library'
72
+ import { within , addTestcafeTestingLibrary } from ' @ testing-library/testcafe '
73
73
74
74
fixture` within` .beforeEach (addTestcafeTestingLibrary)
75
75
.page ` http://localhost:13370`
You can’t perform that action at this time.
0 commit comments