Skip to content

Commit

Permalink
Fix tests to be compatible with 7.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecote committed Jun 5, 2020
1 parent 8a3672f commit be3c36f
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import React, { Fragment, lazy } from 'react';
import React, { Fragment } from 'react';
import { mountWithIntl, nextTick } from 'test_utils/enzyme_helpers';
import { coreMock } from '../../../../../../../src/core/public/mocks';
import { ReactWrapper } from 'enzyme';
Expand All @@ -19,11 +19,7 @@ const actionTypeRegistry = actionTypeRegistryMock.create();
describe('action_form', () => {
let deps: any;

const mockedActionParamsFields = lazy(async () => ({
default() {
return <Fragment />;
},
}));
const mockedActionParamsFields = () => <Fragment />;

const alertType = {
id: 'my-alert-type',
Expand Down

0 comments on commit be3c36f

Please sign in to comment.