Fix broken JavaScript tests (#6498)

* Fixing/removing failing JS tests.

* Fix javascript tests.
This commit is contained in:
Tomasz Drwięga
2017-09-14 19:32:06 +02:00
committed by Gav Wood
parent e3fc3ccada
commit 06ff866e9d
8 changed files with 33 additions and 32 deletions

View File

@@ -23,7 +23,8 @@ function newStub () {
const manager = new Manager({
transport: {
isConnected: true
isConnected: true,
on: sinon.stub()
}
});

View File

@@ -37,7 +37,8 @@ function stubApi (accounts, info) {
return {
_calls,
transport: {
isConnected: true
isConnected: true,
on: sinon.stub()
},
parity: {
accountsInfo: () => {