* feat(Download ScreenShot Dialog) - UI part of it * feat(Download ScreenShot Dialog) - UI part of it * feat(Download ScreenShot Dialog) - Missing Annotations showing controls * feat(Download ScreenShot Dialog) - Missing Annotations showing controls * feat(Download ScreenShot Dialog) - Partial Pull Request - Not ready to Prod yet. * feat(Download ScreenShot Dialog) - UI - v2 * feat(Download ScreenShot Dialog) - UI - v3 * feat(Download ScreenShot Dialog) - Resizing tool * feat(Download ScreenShot Dialog) - Resizing tool * feat(Download ScreenShot Dialog) - Removing hardcoded CSS left * feat(Download ScreenShot Dialog) - Bugfixes * feat(Download ScreenShot Dialog) - Bugfixes - Escape closes the modal * feat(Download ScreenShot Dialog) - Bugfixes - Responsive issues * WIP: Refactoring DownloadDialog * WIP: Refactoring DownloadDialog * Align label and hide background canvas * Add constantes and remove code not used * Reset state on close modal * Extract cornerstone to connect * Fix modal zindex and add custom canvas classname * CR Update: Add proptypes and fix useeffect warning * CR Update: Refactor hooks, styles and imports * CR Update: Remove important from css * CR Update: Update core utils test of index
27 lines
608 B
JavaScript
27 lines
608 B
JavaScript
import * as utils from './index.js';
|
|
|
|
describe('Top level exports', () => {
|
|
test('should export the modules ', () => {
|
|
const expectedExports = [
|
|
'guid',
|
|
'ObjectPath',
|
|
'absoluteUrl',
|
|
'addServers',
|
|
'sortBy',
|
|
'writeScript',
|
|
'b64toBlob',
|
|
'StackManager',
|
|
'studyMetadataManager',
|
|
// Updates WADO-RS metaDataManager
|
|
'updateMetaDataManager',
|
|
'DICOMTagDescriptions',
|
|
'DicomLoaderService',
|
|
'urlUtil',
|
|
].sort();
|
|
|
|
const exports = Object.keys(utils.default).sort();
|
|
|
|
expect(exports).toEqual(expectedExports);
|
|
});
|
|
});
|