From 47cac6c4013575a8daadd37d14ebc9f91ae1f699 Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Tue, 12 Jan 2021 17:21:16 +0000 Subject: [PATCH] chore(NA): move missing canvas plugin tests out of __tests__ folder (#87898) --- .../footer/{__tests__ => }/footer.test.tsx | 8 ++++---- .../footer/{__tests__ => }/page_controls.test.tsx | 8 ++++---- .../footer/{__tests__ => }/page_preview.test.tsx | 8 ++++---- .../footer/{__tests__ => }/scrubber.test.tsx | 8 ++++---- .../__snapshots__/settings.test.tsx.snap | 0 .../{__tests__ => }/autoplay_settings.test.tsx | 8 ++++---- .../settings/{__tests__ => }/settings.test.tsx | 12 ++++++------ .../{__tests__ => }/toolbar_settings.test.tsx | 8 ++++---- .../components/footer/{__tests__ => }/title.test.tsx | 6 +++--- 9 files changed, 33 insertions(+), 33 deletions(-) rename x-pack/plugins/canvas/shareable_runtime/components/footer/{__tests__ => }/footer.test.tsx (82%) rename x-pack/plugins/canvas/shareable_runtime/components/footer/{__tests__ => }/page_controls.test.tsx (89%) rename x-pack/plugins/canvas/shareable_runtime/components/footer/{__tests__ => }/page_preview.test.tsx (75%) rename x-pack/plugins/canvas/shareable_runtime/components/footer/{__tests__ => }/scrubber.test.tsx (81%) rename x-pack/plugins/canvas/shareable_runtime/components/footer/settings/{__tests__ => }/__snapshots__/settings.test.tsx.snap (100%) rename x-pack/plugins/canvas/shareable_runtime/components/footer/settings/{__tests__ => }/autoplay_settings.test.tsx (88%) rename x-pack/plugins/canvas/shareable_runtime/components/footer/settings/{__tests__ => }/settings.test.tsx (89%) rename x-pack/plugins/canvas/shareable_runtime/components/footer/settings/{__tests__ => }/toolbar_settings.test.tsx (78%) rename x-pack/plugins/canvas/shareable_runtime/components/footer/{__tests__ => }/title.test.tsx (82%) diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__tests__/footer.test.tsx b/x-pack/plugins/canvas/shareable_runtime/components/footer/footer.test.tsx similarity index 82% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__tests__/footer.test.tsx rename to x-pack/plugins/canvas/shareable_runtime/components/footer/footer.test.tsx index 9df94127ea51..254c00f15b37 100644 --- a/x-pack/plugins/canvas/shareable_runtime/components/footer/__tests__/footer.test.tsx +++ b/x-pack/plugins/canvas/shareable_runtime/components/footer/footer.test.tsx @@ -6,11 +6,11 @@ import { mount } from 'enzyme'; import React from 'react'; -import { JestContext } from '../../../test/context_jest'; -import { getScrubber as scrubber, getPageControlsCenter as center } from '../../../test/selectors'; -import { Footer } from '../footer'; +import { JestContext } from '../../test/context_jest'; +import { getScrubber as scrubber, getPageControlsCenter as center } from '../../test/selectors'; +import { Footer } from './footer'; -jest.mock('../../../supported_renderers'); +jest.mock('../../supported_renderers'); describe('