All files / src/utils inviteDelivery.js

100% Statements 8/8
100% Branches 3/3
100% Functions 1/1
100% Lines 8/8

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 1x       1x   1x 1x 11x 11x 1x  
// Invitation email delivery chip (SB-1814). The chip itself is shared with
// Support Inbox replies and lives in emailDelivery.js (SB-1821).
 
import { emailDeliveryChip } from './emailDelivery';
 
export const inviteDeliveryChip = emailDeliveryChip;
 
/** A bounced address is the one thing the admin should act on. */
export const inviteDeliveryHint = invite =>
  invite?.email_status === 'bounced'
    ? 'Check the address before resending'
    : null;