1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

Fix lint issue.

This commit is contained in:
ssallam 2020-03-06 12:11:51 +01:00
parent c26ae88fa3
commit d7c34f85b1

View File

@ -48,7 +48,9 @@ describe('OceanCompute', () => {
it('should restart a job', async () => { it('should restart a job', async () => {
sinon sinon
.stub(ocean.brizo, 'compute') .stub(ocean.brizo, 'compute')
.returns([{ status: ComputeJobStatus.Started, jobId: 'my-job-id' }] as any) .returns([
{ status: ComputeJobStatus.Started, jobId: 'my-job-id' }
] as any)
const response = await compute.restart(account, agreementId, 'xxx') const response = await compute.restart(account, agreementId, 'xxx')
assert(response.jobId === 'my-job-id') assert(response.jobId === 'my-job-id')