Fix bug in 0x.js tests when passing Web3 instead of Web3 Provider
This commit is contained in:
parent
04698313a3
commit
38170a24ed
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user