Make exception

This commit is contained in:
Fabio Berger
2017-12-05 16:12:10 -06:00
parent 038668efdf
commit 8414c18866

View File

@@ -28,6 +28,7 @@ describe('LedgerSubprovider', () => {
let ledgerSubprovider: LedgerSubprovider;
before(async () => {
const ledgerEthereumClientFactoryAsync = async () => {
// tslint:disable:no-object-literal-type-assertion
const ledgerEthClient = {
getAddress_async: async () => {
return {
@@ -54,6 +55,7 @@ describe('LedgerSubprovider', () => {
close_async: _.noop,
} as LedgerCommunicationClient,
};
// tslint:enable:no-object-literal-type-assertion
return ledgerEthClient;
};
ledgerSubprovider = new LedgerSubprovider({