All files / @gce/configuration/store actions.js

87.5% Statements 7/8
100% Branches 0/0
75% Functions 3/4
100% Lines 4/4

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 15 16 17 18 19 20 21 22    1x         1x         1x         1x        
import { SET_HIDE_CONSENT, SET_HIDE_CONTRACT_MUTATION, SET_MARKETING_URL, SET_HIDE_MARKETING } from './constants';
 
export const setHideConsent = hideConsent => ({
  type: SET_HIDE_CONSENT,
  payload: { hideConsent },
});
 
export const setHideContractMutation = hideContractMutation => ({
  type: SET_HIDE_CONTRACT_MUTATION,
  payload: { hideContractMutation },
});
 
export const setMarketingURL = marketingURL => ({
  type: SET_MARKETING_URL,
  payload: { marketingURL },
});
 
export const setHideMarketing = hideMarketing => ({
  type: SET_HIDE_MARKETING,
  payload: { hideMarketing },
});