Skip to content

Commit

Permalink
test: added some test stubs for paych
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Sutula <[email protected]>
  • Loading branch information
asutula committed Jun 5, 2020
1 parent 91c56aa commit 169331e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/ffs/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,18 @@ describe('ffs', () => {
expect(bytes.byteLength).equal(buffer.byteLength)
})

it('should list payment channels', async () => {
const _ = await ffs.listPayChannels()
})

it('should create a payment channel', async () => {
// TODO
})

it('should redeem a payment channel', async () => {
// TODO
})

it('should push disable storage job', async () => {
const newConf: CidConfig.AsObject = {
cid,
Expand Down

0 comments on commit 169331e

Please sign in to comment.