(version)
| 70 | } |
| 71 | |
| 72 | async function patch(version) { |
| 73 | const Component = version(); |
| 74 | await act(() => { |
| 75 | ReactFreshRuntime.performReactRefresh(); |
| 76 | }); |
| 77 | return Component; |
| 78 | } |
| 79 | |
| 80 | function patchSync(version) { |
| 81 | const Component = version(); |
no test coverage detected