Skip to content

Commit

Permalink
Fix ESLint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecote committed Oct 15, 2020
1 parent 90718e5 commit a6b38d4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,9 @@ describe('create()', () => {
test('throws error if loading actions fails', async () => {
const data = getMockData();
// Reset from default behaviour
const actionsClient = (await alertsClientParams.getActionsClient()) as jest.Mocked<ActionsClient>;
const actionsClient = (await alertsClientParams.getActionsClient()) as jest.Mocked<
ActionsClient
>;
actionsClient.getBulk.mockReset();
actionsClient.getBulk.mockRejectedValueOnce(new Error('Test Error'));
alertsClientParams.getActionsClient.mockResolvedValue(actionsClient);
Expand Down

0 comments on commit a6b38d4

Please sign in to comment.