diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-25 22:12:46 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-30 23:01:37 +0800 |
commit | 1e9147b8bb45a251eefdead23573a9e8d68fc34b (patch) | |
tree | 5c1f1c4aa80b2ece8c22b36659064cfb9e902b8a /packages/contracts/test/token_registry.ts | |
parent | 2f65fadeaabf350c5fa6d2e822dc211f0632ae2e (diff) | |
download | dexon-0x-contracts-1e9147b8bb45a251eefdead23573a9e8d68fc34b.tar.gz dexon-0x-contracts-1e9147b8bb45a251eefdead23573a9e8d68fc34b.tar.zst dexon-0x-contracts-1e9147b8bb45a251eefdead23573a9e8d68fc34b.zip |
Normalize the dependencies
Diffstat (limited to 'packages/contracts/test/token_registry.ts')
-rw-r--r-- | packages/contracts/test/token_registry.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/token_registry.ts b/packages/contracts/test/token_registry.ts index 1146353da..549b2f175 100644 --- a/packages/contracts/test/token_registry.ts +++ b/packages/contracts/test/token_registry.ts @@ -175,7 +175,7 @@ describe('TokenRegistry', () => { }); it('should change the token symbol when called by owner', async () => { - const res = await tokenReg.setTokenSymbol(token1.address, token2.symbol, { from: owner }); + await tokenReg.setTokenSymbol(token1.address, token2.symbol, { from: owner }); const [newData, oldData] = await Promise.all([ tokenRegWrapper.getTokenBySymbolAsync(token2.symbol), tokenRegWrapper.getTokenBySymbolAsync(token1.symbol), @@ -216,7 +216,7 @@ describe('TokenRegistry', () => { it('should remove token metadata when called by owner', async () => { const index = 0; - const res = await tokenReg.removeToken(token1.address, index, { + await tokenReg.removeToken(token1.address, index, { from: owner, }); const tokenData = await tokenRegWrapper.getTokenMetaDataAsync(token1.address); |