mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
lint
This commit is contained in:
parent
0b7eb1c067
commit
920feb0fba
@ -40,10 +40,10 @@ describe('Compute', () => {
|
||||
;[account] = await ocean.accounts.list()
|
||||
})
|
||||
|
||||
it('should authenticate the consumer account', async () => {
|
||||
/* it('should authenticate the consumer account', async () => {
|
||||
await account.authenticate()
|
||||
})
|
||||
|
||||
*/
|
||||
it('should publish a dataset with a compute service object', async () => {
|
||||
const stepsAsset = []
|
||||
computeService = await ocean.compute.createComputeServiceAttributes(
|
||||
@ -119,17 +119,17 @@ describe('Compute', () => {
|
||||
|
||||
assert.equal(response.status, ComputeJobStatus.Started)
|
||||
jobId = response.jobId
|
||||
})
|
||||
})
|
||||
|
||||
it('should get status of a compute job', async () => {
|
||||
const response = await ocean.compute.status(account, agreementId, jobId)
|
||||
const response = await ocean.compute.status(account, agreementId, jobId)
|
||||
|
||||
assert.equal(response[0].jobId, jobId)
|
||||
assert.equal(response[0].jobId, jobId)
|
||||
})
|
||||
|
||||
it('should get status of all compute jobs for an address', async () => {
|
||||
const response = await ocean.compute.status(account, undefined, undefined)
|
||||
const response = await ocean.compute.status(account, undefined, undefined)
|
||||
|
||||
assert.isAbove(response.length, 0)
|
||||
assert.isAbove(response.length, 0)
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user