mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-consumer.git
synced 2026-09-21 16:52:03 -07:00
linting
This commit is contained in:
@@ -407,7 +407,7 @@ describe('#IPFS REST API', () => {
|
|||||||
sandbox.stub(uut.adapters.ipfsFiles, 'getPins').throws(new Error('test error'))
|
sandbox.stub(uut.adapters.ipfsFiles, 'getPins').throws(new Error('test error'))
|
||||||
|
|
||||||
ctx.request.body = {}
|
ctx.request.body = {}
|
||||||
ctx.params = { page: 1}
|
ctx.params = { page: 1 }
|
||||||
|
|
||||||
await uut.getPins(ctx)
|
await uut.getPins(ctx)
|
||||||
|
|
||||||
@@ -423,7 +423,7 @@ describe('#IPFS REST API', () => {
|
|||||||
sandbox.stub(uut.adapters.ipfsFiles, 'getPins').resolves({ success: true })
|
sandbox.stub(uut.adapters.ipfsFiles, 'getPins').resolves({ success: true })
|
||||||
|
|
||||||
ctx.request.body = {}
|
ctx.request.body = {}
|
||||||
ctx.params = { page: 1}
|
ctx.params = { page: 1 }
|
||||||
|
|
||||||
await uut.getPins(ctx)
|
await uut.getPins(ctx)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user