fix(cli): publish 4D preclincial mode on NPM so it can be used in the OHIF cli commands (#4557)
This commit is contained in:
parent
96f6b0643b
commit
085590a4ca
@ -17,6 +17,9 @@
|
|||||||
"public/**",
|
"public/**",
|
||||||
"README.md"
|
"README.md"
|
||||||
],
|
],
|
||||||
|
"publishConfig": {
|
||||||
|
"access": "public"
|
||||||
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"ohif-mode"
|
"ohif-mode"
|
||||||
],
|
],
|
||||||
|
|||||||
@ -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}`)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user