Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
angorayc committed Mar 2, 2021
1 parent 92a57fd commit efdaf6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ export const getActions = ({
};

return [
openCaseAction,
makeInProgressAction,
closeCaseAction,
{
description: i18n.DELETE_CASE,
icon: 'trash',
Expand All @@ -86,8 +89,5 @@ export const getActions = ({
type: 'icon',
'data-test-subj': 'action-delete',
},
openCaseAction,
makeInProgressAction,
closeCaseAction,
];
};
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ import {
} from './mock';

import { DEFAULT_FILTER_OPTIONS, DEFAULT_QUERY_PARAMS } from './use_get_cases';
import { StatusAll } from '../components/status';

const abortCtrl = new AbortController();
const mockKibanaServices = KibanaServices.get as jest.Mock;
Expand Down Expand Up @@ -138,7 +137,6 @@ describe('Case Configuration API', () => {
...DEFAULT_QUERY_PARAMS,
reporters: [],
tags: [],
status: StatusAll,
},
signal: abortCtrl.signal,
});
Expand Down

0 comments on commit efdaf6e

Please sign in to comment.