fix(cli): publish 4D preclincial mode on NPM so it can be used in the OHIF cli commands (#4557)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-11-29 11:19:23 -05:00
1 parent 96f6b0643b
commit 085590a4ca
2 files changed
+4

No files matched your search

+3
View File
@@ -17,6 +17,9 @@
"public/**", "public/**",
"README.md" "README.md"
], ],
"publishConfig": {
"access": "public"
},
"keywords": [ "keywords": [
"ohif-mode" "ohif-mode"
], ],
+1
View File
@@ -47,6 +47,7 @@ Cypress.Commands.add('openStudy', PatientName => {
Cypress.Commands.add( Cypress.Commands.add(
'checkStudyRouteInViewer', 'checkStudyRouteInViewer',
(StudyInstanceUID, otherParams = '', mode = '/basic-test') => { (StudyInstanceUID, otherParams = '', mode = '/basic-test') => {
Cypress.on('uncaught:exception', () => false);
cy.location('pathname').then($url => { cy.location('pathname').then($url => {
cy.log($url); cy.log($url);
if ($url === 'blank' || !$url.includes(`${mode}/${StudyInstanceUID}${otherParams}`)) { if ($url === 'blank' || !$url.includes(`${mode}/${StudyInstanceUID}${otherParams}`)) {