From f30fdb238ae7cc15fc9c1d118a42c19e195b5d80 Mon Sep 17 00:00:00 2001 From: m-tartari <37861893+m-tartari@users.noreply.github.com> Date: Sat, 20 Jan 2024 10:08:29 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20test(ts):=20fix=20@testing-library/?= =?UTF-8?q?jest-dom=20type=20definitions=20not=20showing=20up?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit see testing-library/jest-dom#546 --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index a7fc6fb..160168f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,8 @@ "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true + "noFallthroughCasesInSwitch": true, + "types": ["@testing-library/jest-dom"], }, "include": ["src"], "references": [{ "path": "./tsconfig.node.json" }]