()
| 933 | const { trackEvent } = useTracking(); |
| 934 | |
| 935 | const handleAsyncAction = async () => { |
| 936 | const value = await Promise.resolve(message); |
| 937 | trackEvent({ |
| 938 | label: 'async action', |
| 939 | status: 'success', |
| 940 | value, |
| 941 | }); |
| 942 | |
| 943 | return value; |
| 944 | }; |
| 945 | |
| 946 | const executeAction = async () => { |
| 947 | const data = await handleAsyncAction(); |
no test coverage detected
searching dependent graphs…