Skip to content

Commit

Permalink
Update cypress configure documentation (#300)
Browse files Browse the repository at this point in the history
`configure` is exported as of testing-library/cypress-testing-library#81 / version 4.2.0

Update documentation to describe `configure` usage with cypress.
  • Loading branch information
homburg authored and alexkrolick committed Oct 18, 2019
1 parent 201c85d commit 722895b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/dom-testing-library/api-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ configure({testIdAttribute: 'my-data-test-id'})`
<!--Cypress-->

```
The configuration object is not currently exposed to in Cypress Testing Library
// setup-tests.js
import { configure } from '@testing-library/cypress'
configure({testIdAttribute: 'my-data-test-id'})`
```

<!--END_DOCUSAURUS_CODE_TABS-->

0 comments on commit 722895b

Please sign in to comment.