()
| 8 | const isLogRocketEnabled: () => void = () => config.env === 'production' && FeatureFlag.unleash?.isEnabled(FEATURE_FLAGS.logRocket); |
| 9 | |
| 10 | const init = () => { |
| 11 | if (isLogRocketEnabled()) { |
| 12 | LogRocket.init(APP_ID); |
| 13 | } |
| 14 | }; |
| 15 | |
| 16 | const captureException = (error: Error) => { |
| 17 | if (isLogRocketEnabled()) { |
nothing calls this directly
no test coverage detected