All files / app/assets/javascripts/alerts_settings/utils error_messages.js

100% Statements 7/7
100% Branches 0/0
100% Functions 0/0
100% Lines 7/7

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 23 24 25 26 27 28    1x       1x       1x       1x       1x       1x       1x  
import { s__, __ } from '~/locale';
 
export const DELETE_INTEGRATION_ERROR = s__(
  'AlertsIntegrations|The integration could not be deleted. Please try again.',
);
 
export const ADD_INTEGRATION_ERROR = s__(
  'AlertsIntegrations|The integration could not be added. Please try again.',
);
 
export const UPDATE_INTEGRATION_ERROR = s__(
  'AlertsIntegrations|The current integration could not be updated. Please try again.',
);
 
export const RESET_INTEGRATION_TOKEN_ERROR = s__(
  'AlertsIntegrations|The integration token could not be reset. Please try again.',
);
 
export const INTEGRATION_PAYLOAD_TEST_ERROR = s__(
  'AlertsIntegrations|Integration payload is invalid.',
);
 
export const INTEGRATION_INACTIVE_PAYLOAD_TEST_ERROR = s__(
  'AlertsIntegrations|The integration is currently inactive. Enable the integration to send the test alert.',
);
 
export const DEFAULT_ERROR = __('Something went wrong on our end.');