import { TestBed } from '@kbn/test/jest' ; import { Phase } from '../../../../common/types' ; import { createFormToggleAndSetValueAction } from './form_toggle_and_set_value_action' ; export const createReplicasAction = ( testBed , phase ) => { return { setReplicas : createFormToggleAndSetValueAction ( testBed , `${ phase }-setReplicasSwitch` , `${ phase }-selectedReplicaCount` ) , } ; } ;