All files / @nova/partenaire/store selectors.js

100% Statements 10/10
100% Branches 0/0
100% Functions 5/5
100% Lines 5/5

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 13 14        1x   1x   1x   1x   1x  
import { getModuleState } from 'redux-register-module';
 
import { STATE_KEY } from './constants';
 
export const editEmailIndexSelector = state => getModuleState(STATE_KEY, state).email.index;
 
export const editPhoneIndexSelector = state => getModuleState(STATE_KEY, state).phone.index;
 
export const editPostalIndexSelector = state => getModuleState(STATE_KEY, state).postal.index;
 
export const getEmails = state => getModuleState(STATE_KEY, state).emails;
 
export const getPhones = state => getModuleState(STATE_KEY, state).phones;