From 9715c1b37d11cc8a9def7c044652be275f0e5337 Mon Sep 17 00:00:00 2001 From: Lukas Date: Wed, 3 Jul 2024 17:58:03 +0300 Subject: [PATCH] [code-infra] Move `HighlightedCode` test into `mui-docs` package --- docs/tsconfig.json | 2 +- .../mui-docs/src/HighlightedCode/HighlightedCode.test.tsx | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename docs/src/modules/components/HighlightedCode.test.js => packages/mui-docs/src/HighlightedCode/HighlightedCode.test.tsx (100%) diff --git a/docs/tsconfig.json b/docs/tsconfig.json index 1303011574a0c7..9e4a2576644506 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -10,7 +10,7 @@ "resolveJsonModule": true, "skipLibCheck": true, "esModuleInterop": true, - "types": ["react"], + "types": ["react", "mocha"], "incremental": true }, "exclude": ["node_modules"] diff --git a/docs/src/modules/components/HighlightedCode.test.js b/packages/mui-docs/src/HighlightedCode/HighlightedCode.test.tsx similarity index 100% rename from docs/src/modules/components/HighlightedCode.test.js rename to packages/mui-docs/src/HighlightedCode/HighlightedCode.test.tsx