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 2024-11-29 11:19:23 -05:00 committed by GitHub
parent 96f6b0643b
commit 085590a4ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,9 @@
"public/**",
"README.md"
],
"publishConfig": {
"access": "public"
},
"keywords": [
"ohif-mode"
],

View File

@ -47,6 +47,7 @@ Cypress.Commands.add('openStudy', PatientName => {
Cypress.Commands.add(
'checkStudyRouteInViewer',
(StudyInstanceUID, otherParams = '', mode = '/basic-test') => {
Cypress.on('uncaught:exception', () => false);
cy.location('pathname').then($url => {
cy.log($url);
if ($url === 'blank' || !$url.includes(`${mode}/${StudyInstanceUID}${otherParams}`)) {