ohif-viewer/platform/core/src/index.test.js
Erik Ziegler 99b8dc4759
feat: Add White Labelling, Hanging Protocols, and tons of Extensions / Mode fixes
* modified

* new files in existing extensions/libraries/modes

* fixed bugs and tests

* Clean up

* fix: viewport display fixed

* Fixed configs for deployment

* Removed unnecessary files and functions

* Fixed default HP module

* Added white labelling

* Fixed hash routing

* Removed unnecessary routers

Co-authored-by: Alireza Sedghi <ar.sedghi@gmail.com>
2021-05-28 14:32:48 -04:00

47 lines
984 B
JavaScript

import * as OHIF from './index.js';
describe('Top level exports', () => {
test('have not changed', () => {
const expectedExports = [
'MODULE_TYPES',
//
'CommandsManager',
'ExtensionManager',
'HotkeysManager',
'ServicesManager',
//
'defaults',
'utils',
'hotkeys',
'classes',
'default', //
'errorHandler',
'string',
'user',
'object',
'log',
'DICOMWeb',
'DICOMSR',
'OHIF',
//
'CineService',
'UIDialogService',
'UIModalService',
'UINotificationService',
'UIViewportDialogService',
'DisplaySetService',
'MeasurementService',
'ToolBarService',
'ViewportGridService',
'HangingProtocolService',
'IWebApiDataSource',
'DicomMetadataStore',
'pubSubServiceInterface'
].sort();
const exports = Object.keys(OHIF).sort();
expect(exports).toEqual(expectedExports);
});
});