diff --git a/packages/mui-material/src/Box/Box.spec.tsx b/packages/mui-material/src/Box/Box.spec.tsx index 2935a971275357..e7023ac8072f15 100644 --- a/packages/mui-material/src/Box/Box.spec.tsx +++ b/packages/mui-material/src/Box/Box.spec.tsx @@ -40,4 +40,9 @@ function ColorTest() { />; } -expectType; +function ComponentTest() { + return ; +} + +expectType('span'); +expectType(ComponentTest);