From 58fc815b467903ed587582ef3849671e200b6544 Mon Sep 17 00:00:00 2001 From: paulo-ocean Date: Tue, 25 Jun 2024 09:36:49 +0100 Subject: [PATCH] update get status example, update test --- ComputeExamples.md | 4 +++- test/integration/ComputeExamples.test.ts | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ComputeExamples.md b/ComputeExamples.md index 250c169d..319c4f13 100644 --- a/ComputeExamples.md +++ b/ComputeExamples.md @@ -658,9 +658,11 @@ Let's have 5 minute of compute access -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 ``` diff --git a/test/integration/ComputeExamples.test.ts b/test/integration/ComputeExamples.test.ts index 877a9392..209ada3e 100644 --- a/test/integration/ComputeExamples.test.ts +++ b/test/integration/ComputeExamples.test.ts @@ -655,8 +655,6 @@ describe('Compute-to-data example tests', async () => { algo ) - console.log('COMPUTE JOBS', computeJobs) - /// ``` ///