Fix broken JavaScript tests (#6498)
* Fixing/removing failing JS tests. * Fix javascript tests.
This commit is contained in:
@@ -23,7 +23,8 @@ function newStub () {
|
||||
|
||||
const manager = new Manager({
|
||||
transport: {
|
||||
isConnected: true
|
||||
isConnected: true,
|
||||
on: sinon.stub()
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -37,7 +37,8 @@ function stubApi (accounts, info) {
|
||||
return {
|
||||
_calls,
|
||||
transport: {
|
||||
isConnected: true
|
||||
isConnected: true,
|
||||
on: sinon.stub()
|
||||
},
|
||||
parity: {
|
||||
accountsInfo: () => {
|
||||
|
||||
Reference in New Issue
Block a user