Skip to content

Commit

Permalink
Fix TS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolf committed Dec 15, 2020
1 parent 286bdfa commit eea4f9e
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,13 @@ describe('actions', () => {

describe('reindex', () => {
it('calls catchRetryableEsClientErrors when the promise rejects', async () => {
const task = Actions.reindex(client, 'my_source_index', 'my_target_index', Option.none);
const task = Actions.reindex(
client,
'my_source_index',
'my_target_index',
Option.none,
false
);
try {
await task();
} catch (e) {
Expand Down

0 comments on commit eea4f9e

Please sign in to comment.