test(SegmentationService): Adding 98.63% of test line coverage to Segmentation Service through unit tests (#5421)

This commit is contained in:
Vinícius Alves de Faria Resende authored and GitHub committed 2025-09-30 13:49:13 -04:00
1 parent 9353a840ee
commit 12ac509c40
7 files changed
+3142 -111

No files matched your search

+6 -2
View File
@@ -1,9 +1,13 @@
const base = require('../../jest.config.base.js');
const pkg = require('./package');
module.exports = {
...base,
displayName: pkg.name,
moduleNameMapper: {
...base.moduleNameMapper,
'@ohif/(.*)': '<rootDir>/../../platform/$1/src',
'^@cornerstonejs/([^/]+)/(.*)$': '<rootDir>/../../node_modules/@cornerstonejs/$1/dist/esm/$2',
'^@cornerstonejs/([^/]+)$': '<rootDir>/../../node_modules/@cornerstonejs/$1/dist/esm',
},
// rootDir: "../.."
// testMatch: [
// //`<rootDir>/platform/${pack.name}/**/*.spec.js`