Skip to content

Commit

Permalink
test getInfo for prune
Browse files Browse the repository at this point in the history
  • Loading branch information
pinheadmz committed Jan 2, 2019
1 parent 8c3ba95 commit fcc4325
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/prune-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ describe('Pruned node', function() {
await wclient.open();
});

it('should indicate prune in getInfo', async () => {
const info = await nclient.getInfo();
assert.strictEqual(true, info.chain.prune);
});

it('should create wallet', async () => {
const info = await wclient.createWallet('test');
assert.strictEqual(info.id, 'test');
Expand Down

0 comments on commit fcc4325

Please sign in to comment.