Skip to content

Commit 21dd3b3

Browse files
committed
Debug getDDO command.
1 parent 3d34f9e commit 21dd3b3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/computeFlow.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,14 @@ describe("Ocean CLI Compute", function() {
9797
});
9898

9999
it("should get DDO using 'npm run cli getDDO' for compute dataset", async function() {
100-
console.log(computeDatasetDid)
101100
const output = await runCommand(`npm run cli getDDO ${computeDatasetDid}`);
102101

103102
const jsonMatch = output.match(/s*([\s\S]*)/);
104103
if (!jsonMatch) {
105104
console.error("Raw output:", output);
106105
throw new Error("Could not find compute environments in the output");
107106
}
108-
107+
console.log(`jsonMatch: ${JSON.stringify(jsonMatch)}`)
109108
try {
110109
const computeDataset = eval(`(${jsonMatch[1]})`);
111110
expect(computeDataset).to.be.an("object")

0 commit comments

Comments
 (0)