Skip to content

Commit e4d779b

Browse files
committed
fix bad import
1 parent 03c9d1c commit e4d779b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/docImage/docImage.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ vi.mock('sentry-docs/serverContext', () => ({
1414
}));
1515

1616
// Mock the ImageLightbox component
17-
vi.mock('./imageLightbox', () => ({
17+
vi.mock('../imageLightbox', () => ({
1818
ImageLightbox: vi.fn(({src, alt, width, height, imgPath}) => ({
1919
type: 'ImageLightbox',
2020
props: {src, alt, width, height, imgPath},

src/components/docImage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import path from 'path';
33
import {isExternalImage} from 'sentry-docs/config/images';
44
import {serverContext} from 'sentry-docs/serverContext';
55

6-
import {ImageLightbox} from './imageLightbox';
6+
import {ImageLightbox} from '../imageLightbox';
77

88
// Helper function to safely parse dimension values
99
const parseDimension = (value: string | number | undefined): number | undefined => {

0 commit comments

Comments
 (0)