Skip to content

Commit

Permalink
Add documentation for printPlaygroundLink configuration option. Relat…
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiassoeholm committed Dec 23, 2020
1 parent e3274e7 commit 0ee1683
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/dom-testing-library/api-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ fail. Takes the error message and container object as arguments.
`asyncUtilTimeout`: The global timeout value in milliseconds used by `waitFor`
utilities. Defaults to 1000ms.

`printPlaygroundLink`: When enabled, a link to the Testing-Library playground
will be logged when a query fails. Defaults to `true`.

<Tabs defaultValue="native" values={[ { label: 'Native', value: 'native', }, {
label: 'React', value: 'react', }, { label: 'Cypress', value: 'cypress', }, ] }>
<TabItem value="native">
Expand Down

0 comments on commit 0ee1683

Please sign in to comment.