Skip to content

Commit 91e5cd4

Browse files
committed
Fix unit tests after refactoring
1 parent ce0880a commit 91e5cd4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/dicom-microscopy-viewer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
* @deprecated use the viewer namespace instead
2727
*/
2828
const api = {
29-
VLWholeSlideMicroscopyViewer: VolumeImageViewer
29+
VLWholeSlideMicroscopyImageViewer: VolumeImageViewer
3030
};
3131

3232
/** Namespace for the viewer.
@@ -86,4 +86,4 @@ const utils = {
8686
mapPixelCoordToSlideCoord,
8787
};
8888

89-
export { events, metadata, roi, scoord3d, utils, viewer };
89+
export { api, events, metadata, roi, scoord3d, utils, viewer };

test/api.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const testCases = [testCase1, testCase2, testCase3];
1111
const dicomMicroscopyViewer = require('../build/dicom-microscopy-viewer.js');
1212

1313

14-
describe('dicomMicroscopyViewer.api.VLWholeSlideMicroscopyImageViewer', ()=> {
14+
describe('dicomMicroscopyViewer.viewer.VolumeImageViewer', ()=> {
1515

1616
var viewer;
1717
testCases.forEach((metadata, index) => {

0 commit comments

Comments
 (0)