Skip to content

Commit 9dfde0b

Browse files
committed
fix: improve logging for getDDO command execution in consumeFlow test
1 parent 16e194c commit 9dfde0b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

test/consumeFlow.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ describe("Ocean CLI Publishing", function () {
162162
it("should get DDO using 'npm run cli getDDO' for download dataset", async function () {
163163

164164
const output = await runCommand(`npm run cli getDDO ${downloadDatasetDid}`);
165-
console.log("Running getDDO command...", downloadDatasetDid);
166-
console.log(output);
165+
console.log('output download dataset:', output, downloadDatasetDid);
167166
const jsonMatch = output.match(/s*([\s\S]*)/);
168167
if (!jsonMatch) {
169168
console.error("Raw output:", output);
@@ -214,7 +213,7 @@ describe("Ocean CLI Publishing", function () {
214213

215214
it("should get DDO using 'npm run cli getDDO' for python algorithm", async function () {
216215
const output = await runCommand(`npm run cli getDDO ${pythonAlgoDid}`);
217-
216+
console.log('output python algo:', output);
218217
const jsonMatch = output.match(/s*([\s\S]*)/);
219218
if (!jsonMatch) {
220219
console.error("Raw output:", output);

0 commit comments

Comments
 (0)