Skip to content

Commit 812b5f7

Browse files
committed
fix: tests
1 parent 4ee88e6 commit 812b5f7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/consumeFlow.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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(/did:op:[a-f0-9]{64}/);
89+
console.log("Publish V5 output:", output);
90+
const jsonMatch = output.match(/did:ope:[a-f0-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(/did:op:[a-f0-9]{64}/);
160+
const jsonMatch = output.match(/did:ope:[a-f0-9]{64}/);
161161
if (!jsonMatch) {
162162
console.error("Raw output:", output);
163163
throw new Error("Could not find did in the output");

0 commit comments

Comments
 (0)