* 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>
47 lines
984 B
JavaScript
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);
|
|
});
|
|
});
|