All files / actions ServiceIndicatorActions.js

100% Statements 2/2
100% Branches 1/1
100% Functions 2/2
100% Lines 2/2
1 2 3 4 5 6 7 8 9 10 11        2x       1x    
import { REQUEST_SERVICE_INDICATORS, SEARCH_SERVICE_INDICATORS } from '../actionTypes';
import api from '../Api';
 
export function fetchServiceIndicators(requestParams, Api = api) {
  return { type: REQUEST_SERVICE_INDICATORS, requestParams, Api };
}
 
export function searchServiceIndicators(requestParams) {
  return { type: SEARCH_SERVICE_INDICATORS, requestParams };
}