From 0ee1683af561a79b764264c5ca3ea56ad4cb16ab Mon Sep 17 00:00:00 2001 From: Mathias Soeholm Date: Wed, 23 Dec 2020 11:15:50 +0100 Subject: [PATCH] Add documentation for printPlaygroundLink configuration option. Relates to https://github.com/testing-library/dom-testing-library/issues/837 --- docs/dom-testing-library/api-configuration.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/dom-testing-library/api-configuration.mdx b/docs/dom-testing-library/api-configuration.mdx index fb84d2698..b2ef2afff 100644 --- a/docs/dom-testing-library/api-configuration.mdx +++ b/docs/dom-testing-library/api-configuration.mdx @@ -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`. +