Skip to content

Commit

Permalink
slight refactor of imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Sep 28, 2020
1 parent 91a3439 commit 5eb961a
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 11 deletions.
2 changes: 2 additions & 0 deletions x-pack/plugins/transform/public/app/app_dependencies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { CoreSetup, CoreStart } from 'src/core/public';
import { DataPublicPluginStart } from 'src/plugins/data/public';
import { ScopedHistory } from 'kibana/public';

import 'brace/mode/json';

import { useKibana } from '../../../../../src/plugins/kibana_react/public';
import { Storage } from '../../../../../src/plugins/kibana_utils/public';

Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/transform/public/app/common/pivot_aggs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
* you may not use this file except in compliance with the Elastic License.
*/

jest.mock('brace/mode/json', () => ({}));

import { getAggConfigFromEsAgg } from './pivot_aggs';
import {
FilterAggForm,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import 'brace/mode/json';

import React, { FC } from 'react';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import { shallow } from 'enzyme';
import React from 'react';

jest.mock('brace/mode/json', () => ({}));

import { AggName } from '../../../../../../common/types/aggregations';
import { PIVOT_SUPPORTED_AGGS } from '../../../../../../common/types/pivot_aggs';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* you may not use this file except in compliance with the Elastic License.
*/

import 'brace/mode/json';
import React, { useEffect, useState } from 'react';

import { i18n } from '@kbn/i18n';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* you may not use this file except in compliance with the Elastic License.
*/

import 'brace/mode/json';
import React, { Fragment, useState } from 'react';

import { i18n } from '@kbn/i18n';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* you may not use this file except in compliance with the Elastic License.
*/

import 'brace/mode/json';
import React from 'react';
import { EuiCodeEditor, EuiSpacer } from '@elastic/eui';
import { FilterAggConfigEditor } from '../types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import { shallow } from 'enzyme';
import React from 'react';

jest.mock('brace/mode/json', () => ({}));

import transformListRow from '../../../../common/__mocks__/transform_list_row.json';

import { ExpandedRowJsonPane } from './expanded_row_json_pane';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* you may not use this file except in compliance with the Elastic License.
*/

import 'brace/mode/json';
import React, { FC } from 'react';

import {
Expand Down

0 comments on commit 5eb961a

Please sign in to comment.