All files / src/app/extensions/punchout/store/cxml-configuration cxml-configuration.selectors.ts

80% Statements 8/10
100% Branches 0/0
50% Functions 2/4
100% Lines 6/6

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 129x   9x   9x   9x   9x   9x  
import { createSelector } from '@ngrx/store';
 
import { getPunchoutState } from '../punchout-store';
 
const getCxmlConfigurationState = createSelector(getPunchoutState, state => state.cxmlConfiguration);
 
export const getCxmlConfiguration = createSelector(getCxmlConfigurationState, state => state.configuration);
 
export const getCxmlConfigurationLoading = createSelector(getCxmlConfigurationState, state => state.loading);
 
export const getCxmlConfigurationError = createSelector(getCxmlConfigurationState, state => state.error);