From 8e8d649f11e31f9f220ff9dc1156310bbe8db5a7 Mon Sep 17 00:00:00 2001 From: Alex Pickering Date: Tue, 3 Dec 2024 11:45:34 -0800 Subject: [PATCH] revert fname Signed-off-by: Alex Pickering --- src/__test__/test-utils/setupTests.js | 2 +- .../{DynamicESMWrappers.jsx => DynamicVitessceWrappers.jsx} | 0 src/components/data-exploration/embedding/Embedding.jsx | 2 +- src/components/data-exploration/heatmap/HeatmapPlot.jsx | 2 +- src/components/data-exploration/spatial/SpatialViewer.jsx | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename src/components/data-exploration/{DynamicESMWrappers.jsx => DynamicVitessceWrappers.jsx} (100%) diff --git a/src/__test__/test-utils/setupTests.js b/src/__test__/test-utils/setupTests.js index b1de25bac..05c25a596 100644 --- a/src/__test__/test-utils/setupTests.js +++ b/src/__test__/test-utils/setupTests.js @@ -10,7 +10,7 @@ jest.mock('localforage'); jest.mock('utils/pushNotificationMessage'); // This is needed, because the unit tests don't register the Vitessce imports -jest.mock('components/data-exploration/DynamicESMWrappers', () => ({ +jest.mock('components/data-exploration/DynamicVitessceWrappers', () => ({ Scatterplot: () => 'Mocked Scatterplot', Heatmap: () => 'Mocked Heatmap', Spatial: () => 'Mocked Spatial', diff --git a/src/components/data-exploration/DynamicESMWrappers.jsx b/src/components/data-exploration/DynamicVitessceWrappers.jsx similarity index 100% rename from src/components/data-exploration/DynamicESMWrappers.jsx rename to src/components/data-exploration/DynamicVitessceWrappers.jsx diff --git a/src/components/data-exploration/embedding/Embedding.jsx b/src/components/data-exploration/embedding/Embedding.jsx index 093af38ee..b5cf59032 100644 --- a/src/components/data-exploration/embedding/Embedding.jsx +++ b/src/components/data-exploration/embedding/Embedding.jsx @@ -31,7 +31,7 @@ import { import getContainingCellSetsProperties from 'utils/cellSets/getContainingCellSetsProperties'; const Scatterplot = dynamic( - () => import('../DynamicESMWrappers').then((mod) => mod.Scatterplot), + () => import('../DynamicVitessceWrappers').then((mod) => mod.Scatterplot), { ssr: false }, ); diff --git a/src/components/data-exploration/heatmap/HeatmapPlot.jsx b/src/components/data-exploration/heatmap/HeatmapPlot.jsx index 5f258562b..c643aa0ef 100644 --- a/src/components/data-exploration/heatmap/HeatmapPlot.jsx +++ b/src/components/data-exploration/heatmap/HeatmapPlot.jsx @@ -29,7 +29,7 @@ import { loadCellSets } from 'redux/actions/cellSets'; const COMPONENT_TYPE = 'interactiveHeatmap'; const Heatmap = dynamic( - () => import('../DynamicESMWrappers').then((mod) => mod.Heatmap), + () => import('../DynamicVitessceWrappers').then((mod) => mod.Heatmap), { ssr: false }, ); diff --git a/src/components/data-exploration/spatial/SpatialViewer.jsx b/src/components/data-exploration/spatial/SpatialViewer.jsx index 7286ec147..e0d55a6bc 100644 --- a/src/components/data-exploration/spatial/SpatialViewer.jsx +++ b/src/components/data-exploration/spatial/SpatialViewer.jsx @@ -39,7 +39,7 @@ const COMPONENT_TYPE = 'interactiveSpatial'; const RADIUS_DEFAULT = 3; const Spatial = dynamic( - () => import('../DynamicESMWrappers').then((mod) => mod.Spatial), + () => import('../DynamicVitessceWrappers').then((mod) => mod.Spatial), { ssr: false }, );