All files / extensions/cornerstone-dicom-sr/src/__mocks__ ohifExtensionCornerstone.js

0% Statements 0/1
100% Branches 0/0
100% Functions 0/0
0% Lines 0/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16                               
/**
 * Stand-in for `@ohif/extension-cornerstone` under jest.
 *
 * The SOP class handler reads the cornerstone tool source name and version from
 * the cornerstone extension, and importing that package for real pulls in the
 * cornerstone rendering stack, which does not load under jsdom. The catch-all
 * `@ohif/(.*)` mapping also sends it to `platform/extension-cornerstone/src`, which
 * does not exist.
 */
module.exports = {
  Enums: {
    CORNERSTONE_3D_TOOLS_SOURCE_NAME: 'Cornerstone3DTools',
    CORNERSTONE_3D_TOOLS_SOURCE_VERSION: '0.1',
  },
};