Skip to content

Commit

Permalink
add tests to mocha test script
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardmack committed Jun 15, 2022
1 parent 8ae320a commit 80df15a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
5 changes: 1 addition & 4 deletions tests/polkadotjs_test/test/test-polkadot.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,7 @@ describe('Testing polkadot.js/api calls:', function () {
it('call api.rpc.grandpa.proveFinality', async function () {
const proveBlockNumber = 0;
const finality = await api.rpc.grandpa.proveFinality(proveBlockNumber);
console.log(finality);

// expect(transfer).to.be.not.null;
// expect(transfer).to.have.lengthOf(32);
expect(finality).to.be.not.null;
});
});
});
17 changes: 0 additions & 17 deletions tests/polkadotjs_test/test_grandpa.js

This file was deleted.

0 comments on commit 80df15a

Please sign in to comment.