mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
expand checks
This commit is contained in:
parent
753d253b35
commit
57c1457b83
@ -1165,7 +1165,7 @@ describe('Compute flow', () => {
|
||||
`${computeService.index}`,
|
||||
computeService.type
|
||||
)
|
||||
assert(response, 'Compute error')
|
||||
assert(response === null || response === undefined, 'Compute error')
|
||||
})
|
||||
|
||||
it('Bob should failed to get status of all compute jobs from a dataset with bogus provider', async () => {
|
||||
@ -1176,11 +1176,11 @@ describe('Compute flow', () => {
|
||||
undefined,
|
||||
false
|
||||
)
|
||||
assert(response === undefined, 'Invalid response')
|
||||
assert(response === null || response === undefined, 'Invalid response')
|
||||
})
|
||||
it('Bob should fail to stop a fake compute job on a bogus provider', async () => {
|
||||
const jobid = '1234'
|
||||
const response = await ocean.compute.stop(bob, datasetWithBogusProvider.id, jobid)
|
||||
assert(response === undefined, 'Invalid response')
|
||||
assert(response === null || response === undefined, 'Invalid response')
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user