File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ describe("Ocean CLI Publishing", function () {
8686 process . env . ADDRESS_FILE = path . join ( process . env . HOME || "" , ".ocean/ocean-contracts/artifacts/address.json" ) ;
8787
8888 const output = await runCommand ( `npm run cli publish ${ metadataFile } ` ) ;
89-
90- const jsonMatch = output . match ( / d i d : o p : [ a - f 0 - 9 ] { 64 } / ) ;
89+ console . log ( "Publish V5 output:" , output ) ;
90+ const jsonMatch = output . match ( / d i d : o p e : [ a - f 0 - 9 ] { 64 } / ) ;
9191 if ( ! jsonMatch ) {
9292 console . error ( "Raw output:" , output ) ;
9393 throw new Error ( "Could not find did in the output" ) ;
@@ -157,7 +157,7 @@ describe("Ocean CLI Publishing", function () {
157157 }
158158
159159 const output = await runCommand ( `npm run cli publishAlgo ${ filePath } ` ) ;
160- const jsonMatch = output . match ( / d i d : o p : [ a - f 0 - 9 ] { 64 } / ) ;
160+ const jsonMatch = output . match ( / d i d : o p e : [ a - f 0 - 9 ] { 64 } / ) ;
161161 if ( ! jsonMatch ) {
162162 console . error ( "Raw output:" , output ) ;
163163 throw new Error ( "Could not find did in the output" ) ;
You can’t perform that action at this time.
0 commit comments