1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

update get status example, update test

This commit is contained in:
paulo-ocean 2024-06-25 09:36:49 +01:00
parent 1dcafcff6c
commit 58fc815b46
2 changed files with 3 additions and 3 deletions

View File

@ -658,9 +658,11 @@ Let's have 5 minute of compute access
<!--
assert(computeJobs, 'Cannot start compute job')
-->
Let's save the compute job it, we re going to use later
Let's save the compute job id, we re going to use later
We can also save the agreementId. Its another optional field that we can later use to retrieve the job status
```Typescript
computeJobId = computeJobs[0].jobId
agreementId = computeJobs[0].agreementId
```

View File

@ -655,8 +655,6 @@ describe('Compute-to-data example tests', async () => {
algo
)
console.log('COMPUTE JOBS', computeJobs)
/// ```
/// <!--
assert(computeJobs, 'Cannot start compute job')