Skip to content

Commit

Permalink
Merge branch 'main' into fix/metric-migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 authored Jun 13, 2023
2 parents ae79174 + 7b1d473 commit 95023fe
Show file tree
Hide file tree
Showing 31 changed files with 848 additions and 671 deletions.
4 changes: 3 additions & 1 deletion packages/kbn-test-jest-helpers/src/enzyme_helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import { I18nProvider, InjectedIntl, intlShape, __IntlProvider } from '@kbn/i18n-react';
import { mount, ReactWrapper, render, shallow } from 'enzyme';
import React, { ReactElement, ValidationMap } from 'react';
import React, { ComponentType, ReactElement, ValidationMap } from 'react';
import { act as reactAct } from 'react-dom/test-utils';

// Use fake component to extract `intl` property to use in tests.
Expand Down Expand Up @@ -94,6 +94,8 @@ export function mountWithIntl<T>(
attachTo?: HTMLElement;
context?: any;
childContextTypes?: ValidationMap<any>;
wrappingComponent?: ComponentType<any> | undefined;
wrappingComponentProps?: {} | undefined;
} = {}
) {
const options = getOptions(context, childContextTypes, props);
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 95023fe

Please sign in to comment.