Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Jul 14, 2020
1 parent 4248bab commit 87f124f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe('api', () => {
});

test('it calls createIncident correctly', async () => {
const params = { ...apiParams, externalId: null, comments: undefined };
const params = { ...apiParams, externalId: null, comments: [] };
await api.pushToService({
externalService,
mapping,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ import { TypeRegistry } from '../../type_registry';
import { actionTypeCompare } from '../../lib/action_type_compare';
import { checkActionFormActionTypeEnabled } from '../../lib/check_action_type_enabled';
import { VIEW_LICENSE_OPTIONS_LINK } from '../../../common/constants';
import { ServiceNowConnectorConfiguration } from '../../../common';

interface ActionAccordionFormProps {
actions: AlertAction[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n/react';
import { ServiceNowConnectorConfiguration } from '../../../../common';
import { useAppDependencies } from '../../../app_context';
import { loadAllActions, loadActionTypes, deleteActions } from '../../../lib/action_connector_api';
import ConnectorAddFlyout from '../../action_connector_form/connector_add_flyout';
Expand Down

0 comments on commit 87f124f

Please sign in to comment.