Skip to content

Commit

Permalink
feat: increasing code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
shrouti1507 committed Oct 22, 2024
1 parent 71defdb commit 7c22dbc
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,13 @@ class Mixpanel {
// ref : https://docs.mixpanel.com/docs/tracking-methods/sdks/javascript#session-replay
if (mixpanelIntgConfig) {
const sessionReplayConfig = {
record_block_class: mixpanelIntgConfig?.recordBlockClass,
record_collect_fonts: mixpanelIntgConfig?.recordCollectFonts,
record_idle_timeout_ms: mixpanelIntgConfig?.recordIdleTimeout,
record_mask_text_class: mixpanelIntgConfig?.recordMaskTextClass,
record_mask_text_selector: mixpanelIntgConfig?.recordMaskTextSelector,
record_max_ms: mixpanelIntgConfig?.recordMaxMs,
record_min_ms: mixpanelIntgConfig?.recordMinMs,
record_block_class: mixpanelIntgConfig.recordBlockClass,
record_collect_fonts: mixpanelIntgConfig.recordCollectFonts,
record_idle_timeout_ms: mixpanelIntgConfig.recordIdleTimeout,
record_mask_text_class: mixpanelIntgConfig.recordMaskTextClass,
record_mask_text_selector: mixpanelIntgConfig.recordMaskTextSelector,
record_max_ms: mixpanelIntgConfig.recordMaxMs,
record_min_ms: mixpanelIntgConfig.recordMinMs,
};
options = { ...options, ...removeUndefinedAndNullValues(sessionReplayConfig) };
}
Expand Down

0 comments on commit 7c22dbc

Please sign in to comment.