Skip to content

Commit f540202

Browse files
committed
fix: tests
1 parent d78df55 commit f540202

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

test/paidComputeFlow.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -183,21 +183,21 @@ describe("Ocean CLI Paid Compute", function () {
183183
throw new Error("Could not find Agreement ID in the output");
184184
}
185185

186-
const _computeJobId = jobIdMatch[1];
187-
const _agreementId_ = agreementIdMatch[1];
186+
computeJobId = jobIdMatch[1];
187+
agreementId = agreementIdMatch[1];
188188

189-
expect(_computeJobId).to.be.a("string");
190-
expect(_agreementId_).to.be.a("string");
189+
expect(computeJobId).to.be.a("string");
190+
expect(agreementId).to.be.a("string");
191191

192-
console.log(`jobId: ${_computeJobId}`);
193-
console.log(`agreementId: ${_agreementId_}`);
192+
console.log(`jobId: ${computeJobId}`);
193+
console.log(`agreementId: ${agreementId}`);
194194

195-
if (!_computeJobId) {
195+
if (!computeJobId) {
196196
console.error("Job ID was empty:", output);
197197
throw new Error("Job ID is missing");
198198
}
199199

200-
if (!_agreementId_) {
200+
if (!agreementId) {
201201
console.error("Agreement ID was empty:", output);
202202
throw new Error("Agreement ID is missing");
203203
}

0 commit comments

Comments
 (0)