File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,22 +137,6 @@ describe("Ocean CLI Publishing", function () {
137137 }
138138 } ) ;
139139
140- it ( "should publish a js Algorithm V5 using 'npm run cli publishAlgo'" , async function ( ) {
141- const filePath = path . resolve ( projectRoot , "metadata/jsAlgoV5.json" ) ;
142-
143- // Ensure the metadata file exists
144- if ( ! fs . existsSync ( filePath ) ) {
145- throw new Error ( "Metadata file not found: " + filePath ) ;
146- }
147-
148- const output = await runCommand ( `npm run cli publishAlgo ${ filePath } ` ) ;
149- const jsonMatch = output . match ( / d i d : o p e : [ a - f 0 - 9 ] { 64 } / ) ;
150- if ( ! jsonMatch ) {
151- console . error ( "Raw output:" , output ) ;
152- throw new Error ( "Could not find did in the output" ) ;
153- }
154- } ) ;
155-
156140 it ( "should publish a python Algorithm using 'npm run cli publishAlgo'" , async function ( ) {
157141 const filePath = path . resolve ( projectRoot , "metadata/pythonAlgo.json" ) ;
158142
You can’t perform that action at this time.
0 commit comments