@@ -15,7 +15,7 @@ import {
1515 REACT_SUSPENSE_LIST_TYPE as SuspenseList ,
1616 REACT_STRICT_MODE_TYPE as StrictMode ,
1717} from 'shared/ReactSymbols' ;
18- import { createElement } from 'react/src/ReactElement'
18+ import { createElement } from 'react/src/ReactElement' ;
1919
2020describe ( 'utils' , ( ) => {
2121 describe ( 'getDisplayName' , ( ) => {
@@ -49,7 +49,7 @@ describe('utils', () => {
4949 it ( 'should return correct display name for an element with function type' , ( ) => {
5050 function FauxComponent ( ) { }
5151 FauxComponent . displayName = 'OverrideDisplayName' ;
52- const element = createElement ( FauxComponent )
52+ const element = createElement ( FauxComponent ) ;
5353 expect ( getDisplayNameForReactElement ( element ) ) . toEqual (
5454 'OverrideDisplayName' ,
5555 ) ;
@@ -60,9 +60,7 @@ describe('utils', () => {
6060 } ) ;
6161 it ( 'should return correct display name for an element with a type of SuspenseList' , ( ) => {
6262 const element = createElement ( SuspenseList ) ;
63- expect ( getDisplayNameForReactElement ( element ) ) . toEqual (
64- 'SuspenseList' ,
65- ) ;
63+ expect ( getDisplayNameForReactElement ( element ) ) . toEqual ( 'SuspenseList' ) ;
6664 } ) ;
6765 it ( 'should return NotImplementedInDevtools for an element with invalid symbol type' , ( ) => {
6866 const element = createElement ( Symbol ( 'foo' ) ) ;
@@ -71,7 +69,7 @@ describe('utils', () => {
7169 ) ;
7270 } ) ;
7371 it ( 'should return NotImplementedInDevtools for an element with invalid type' , ( ) => {
74- const element = createElement ( true )
72+ const element = createElement ( true ) ;
7573 expect ( getDisplayNameForReactElement ( element ) ) . toEqual (
7674 'NotImplementedInDevtools' ,
7775 ) ;
0 commit comments