All files / ee/app/assets/javascripts/hand_raise_leads/hand_raise_lead index.js

50% Statements 3/6
50% Branches 1/2
50% Functions 1/2
50% Lines 3/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 131x 2x 2x                    
export const shouldHandRaiseLeadButtonMount = async () => {
  const elements = document.querySelectorAll('.js-hand-raise-lead-button');
  Iif (elements.length > 0) {
    const { initHandRaiseLeadButton } = await import(
      /* webpackChunkName: 'init_hand_raise_lead_button' */ './init_hand_raise_lead_button'
    );
 
    elements.forEach(async (el) => {
      initHandRaiseLeadButton(el);
    });
  }
};