diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-05-17 08:36:37 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-05-17 08:36:37 +0800 |
commit | 251218af8b3947d0bad531d995dbb4e161058143 (patch) | |
tree | 5f72bf6b84d4b073333c0b7555ce97098eafaca5 /packages/subproviders/test/integration | |
parent | c06ed585823ec88b8330db253283fe0c4c4521fe (diff) | |
download | dexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.tar dexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.tar.gz dexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.tar.bz2 dexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.tar.lz dexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.tar.xz dexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.tar.zst dexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.zip |
Use make-promises-safe to catch unhandled rejections in tests
Diffstat (limited to 'packages/subproviders/test/integration')
-rw-r--r-- | packages/subproviders/test/integration/ledger_subprovider_test.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/subproviders/test/integration/ledger_subprovider_test.ts b/packages/subproviders/test/integration/ledger_subprovider_test.ts index f1c634a77..70fd2cfce 100644 --- a/packages/subproviders/test/integration/ledger_subprovider_test.ts +++ b/packages/subproviders/test/integration/ledger_subprovider_test.ts @@ -7,6 +7,7 @@ import TransportNodeHid from '@ledgerhq/hw-transport-node-hid'; import * as chai from 'chai'; import * as ethUtils from 'ethereumjs-util'; import * as _ from 'lodash'; +import 'make-promises-safe'; import Web3 = require('web3'); import Web3ProviderEngine = require('web3-provider-engine'); import RpcSubprovider = require('web3-provider-engine/subproviders/rpc'); |