Skip to content

Commit cfc7914

Browse files
committed
fix: test
1 parent 9c100cf commit cfc7914

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

test/consumeFlow.test.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff 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(/did:ope:[a-f0-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

0 commit comments

Comments
 (0)