From 54295869c9d84549af89068a2149cd5dbceb0930 Mon Sep 17 00:00:00 2001 From: Brent Erickson Date: Sat, 9 May 2020 12:06:01 -0700 Subject: [PATCH] Auto-commit github suggestion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ernesto GarcĂ­a --- types/testing-library__jest-dom/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/testing-library__jest-dom/index.d.ts b/types/testing-library__jest-dom/index.d.ts index 6a394876916286..4a041f1908c1f4 100644 --- a/types/testing-library__jest-dom/index.d.ts +++ b/types/testing-library__jest-dom/index.d.ts @@ -292,7 +292,7 @@ declare namespace jest { * @see * [testing-library/jest-dom#tohavedisplayvalue](https:github.com/testing-library/jest-dom#tohavedisplayvalue) */ - toHaveDisplayValue(value: string | string[]): R; + toHaveDisplayValue(value: string | RegExp | (string|RegExp)[]): R; /** * @description * Assert whether an element has focus or not.