Skip to content

Commit 1c42f67

Browse files
committed
[ML] Update tests to reflect new required component structure.
1 parent 13954f7 commit 1c42f67

File tree

6 files changed

+67
-0
lines changed

6 files changed

+67
-0
lines changed

x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/__snapshots__/delete_button.test.tsx.snap

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/__snapshots__/start_button.test.tsx.snap

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/__snapshots__/stop_button.test.tsx.snap

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_list.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import React from 'react';
1010
import { TransformList } from './transform_list';
1111

1212
jest.mock('../../../../../shared_imports');
13+
jest.mock('../../../../../app/app_dependencies');
1314

1415
describe('Transform: Transform List <TransformList />', () => {
1516
test('Minimal initialization', () => {

x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_actions.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { renderHook } from '@testing-library/react-hooks';
99
import { useActions } from './use_actions';
1010

1111
jest.mock('../../../../../shared_imports');
12+
jest.mock('../../../../../app/app_dependencies');
1213

1314
describe('Transform: Transform List Actions', () => {
1415
test('useActions()', () => {

x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_columns.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { renderHook } from '@testing-library/react-hooks';
99
import { useColumns } from './use_columns';
1010

1111
jest.mock('../../../../../shared_imports');
12+
jest.mock('../../../../../app/app_dependencies');
1213

1314
describe('Transform: Job List Columns', () => {
1415
test('useColumns()', () => {

0 commit comments

Comments
 (0)