chore: Clean up unused files, imports, and work on getting end-to-end tests and unit tests running (#2272)
This commit is contained in:
1 parent
414ebc6850
commit
0db81b30f3
374 files changed
+14138
-21288
No files matched your search
@@ -30,7 +30,7 @@ module.exports = (env, argv) => {
|
||||
},
|
||||
output: {
|
||||
path: ROOT_DIR,
|
||||
library: 'OHIFExtCornerstone',
|
||||
library: 'OHIFModeLongitudinal',
|
||||
libraryTarget: 'umd',
|
||||
libraryExport: 'default',
|
||||
filename: pkg.main,
|
||||
|
||||
@@ -26,10 +26,16 @@
|
||||
"build:package": "yarn run build",
|
||||
"start": "yarn run dev",
|
||||
"test:unit": "jest --watchAll",
|
||||
"test:unit:ci": "jest --ci --runInBand --collectCoverage"
|
||||
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@ohif/core": "^2.12.3"
|
||||
},
|
||||
"peerDependencies": {},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.7.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"webpack": "^5.21.2",
|
||||
"webpack-merge": "^5.7.3"
|
||||
}
|
||||
}
|
||||
@@ -22,7 +22,7 @@ function _createButton(type, id, icon, label, commandName, commandOptions) {
|
||||
label,
|
||||
type,
|
||||
commandName,
|
||||
commandOptions,
|
||||
commandOptions
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ const _createToolButton = _createButton.bind(null, 'tool');
|
||||
*/
|
||||
function _createWwwcPreset(preset, title, subtitle) {
|
||||
return {
|
||||
id: preset,
|
||||
id: preset.toString(),
|
||||
title,
|
||||
subtitle,
|
||||
type: 'action',
|
||||
@@ -111,6 +111,7 @@ export default [
|
||||
id: 'WindowLevel',
|
||||
type: 'ohif.splitButton',
|
||||
props: {
|
||||
groupId: 'Wwwc',
|
||||
primary: _createToolButton(
|
||||
'Wwwc',
|
||||
'tool-window-level',
|
||||
@@ -168,7 +169,7 @@ export default [
|
||||
isRadio: true, // ?
|
||||
groupId: 'MoreTools',
|
||||
primary: _createActionButton(
|
||||
'reset',
|
||||
'Reset',
|
||||
'tool-reset',
|
||||
'Reset View',
|
||||
'resetViewport'
|
||||
@@ -181,7 +182,7 @@ export default [
|
||||
},
|
||||
items: [
|
||||
_createActionButton(
|
||||
'reset',
|
||||
'Reset',
|
||||
'tool-reset',
|
||||
'Reset View',
|
||||
'resetViewport'
|
||||
|
||||
Reference in new issue
Block a user