Add a test for getZRXTokenAddressAsync
This commit is contained in:
		@@ -591,4 +591,11 @@ describe('ExchangeWrapper', () => {
 | 
			
		||||
            expect(orderHash).to.equal(orderHashFromContract);
 | 
			
		||||
        });
 | 
			
		||||
    });
 | 
			
		||||
    describe('#getZRXTokenAddressAsync', () => {
 | 
			
		||||
        it('gets the same token as is in token registry', async () => {
 | 
			
		||||
            const zrxAddress = await zeroEx.exchange.getZRXTokenAddressAsync();
 | 
			
		||||
            const zrxToken = tokenUtils.getProtocolTokenOrThrow();
 | 
			
		||||
            expect(zrxAddress).to.equal(zrxToken.address);
 | 
			
		||||
        });
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user