Skip to content

updated testcafe docs for new name #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/testcafe-testing-library/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: Testcafe Testing Library
testing.

```
npm install --save-dev testcafe testcafe-testing-library
npm install --save-dev testcafe @testing-library/testcafe
```

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

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

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

fixture`within`.beforeEach(addTestcafeTestingLibrary)
.page`http://localhost:13370`
Expand Down