()
| 177 | // // classic JS without JSX. |
| 178 | it('allows static methods to be called using the type property', () => { |
| 179 | function StaticMethodComponent() { |
| 180 | return React.createElement('div'); |
| 181 | } |
| 182 | StaticMethodComponent.someStaticMethod = () => 'someReturnValue'; |
| 183 | |
| 184 | const element = React.createElement(StaticMethodComponent); |
nothing calls this directly
no outgoing calls
no test coverage detected