All files / ee/app/assets/javascripts/geo_settings/store getters.js

100% Statements 4/4
100% Branches 0/0
100% Functions 3/3
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 53x 33x 66x 60x  
export const formHasError = (state) =>
  Object.keys(state.formErrors)
    .map((key) => state.formErrors[key])
    .some((val) => Boolean(val));