From 4996a68c84fbe6536c4faca1f02d48da7043e87d Mon Sep 17 00:00:00 2001 From: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com> Date: Tue, 15 Oct 2024 23:19:55 +0900 Subject: [PATCH 1/2] fix: prevent test matcher warning --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index d9d59f63cf..9d96889da3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "target": "esnext", "module": "esnext", + "types": ["@testing-library/jest-dom"], "lib": ["dom", "esnext"], "declaration": true, "sourceMap": true, From f12f8a665015206840fdf78291bb6b5ff45313e5 Mon Sep 17 00:00:00 2001 From: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com> Date: Tue, 15 Oct 2024 23:28:21 +0900 Subject: [PATCH 2/2] chore: add node types --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 9d96889da3..3a55c68d08 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "target": "esnext", "module": "esnext", - "types": ["@testing-library/jest-dom"], + "types": ["@testing-library/jest-dom", "node"], "lib": ["dom", "esnext"], "declaration": true, "sourceMap": true,