diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-15 23:34:54 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-15 23:34:54 +0800 |
commit | 38170a24eda03884c19610bc094d3855568e3704 (patch) | |
tree | b352d230f64120cc3a8ccab289c91c59e90675cb /test | |
parent | 04698313a385003f5c1d545fff9c1a619faea4ff (diff) | |
download | dexon-sol-tools-38170a24eda03884c19610bc094d3855568e3704.tar dexon-sol-tools-38170a24eda03884c19610bc094d3855568e3704.tar.gz dexon-sol-tools-38170a24eda03884c19610bc094d3855568e3704.tar.bz2 dexon-sol-tools-38170a24eda03884c19610bc094d3855568e3704.tar.lz dexon-sol-tools-38170a24eda03884c19610bc094d3855568e3704.tar.xz dexon-sol-tools-38170a24eda03884c19610bc094d3855568e3704.tar.zst dexon-sol-tools-38170a24eda03884c19610bc094d3855568e3704.zip |
Fix bug in 0x.js tests when passing Web3 instead of Web3 Provider
Diffstat (limited to 'test')
-rw-r--r-- | test/0x.js_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts index 005b9fa0c..9ec0a0c8e 100644 --- a/test/0x.js_test.ts +++ b/test/0x.js_test.ts @@ -164,7 +164,7 @@ describe('ZeroEx library', () => { let stubs: Sinon.SinonStub[] = []; let makerAddress: string; const web3 = web3Factory.create(); - const zeroEx = new ZeroEx(web3); + const zeroEx = new ZeroEx(web3.currentProvider); before(async () => { const availableAddreses = await zeroEx.getAvailableAddressesAsync(); makerAddress = availableAddreses[0]; |