diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-19 20:49:10 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-30 23:01:35 +0800 |
commit | fca051c5656c29164d9ef05fe5124b98972b79cc (patch) | |
tree | 2ad56bafd58fed8af562093763698cc5a4f88672 /packages/contracts/test/token_transfer_proxy/transfer_from.ts | |
parent | 6463cda2045fe9caca3cb3908aa0c66f0bfe683a (diff) | |
download | dexon-0x-contracts-fca051c5656c29164d9ef05fe5124b98972b79cc.tar.gz dexon-0x-contracts-fca051c5656c29164d9ef05fe5124b98972b79cc.tar.zst dexon-0x-contracts-fca051c5656c29164d9ef05fe5124b98972b79cc.zip |
Remove truffle from tokenTransferProxy tests
Diffstat (limited to 'packages/contracts/test/token_transfer_proxy/transfer_from.ts')
-rw-r--r-- | packages/contracts/test/token_transfer_proxy/transfer_from.ts | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/packages/contracts/test/token_transfer_proxy/transfer_from.ts b/packages/contracts/test/token_transfer_proxy/transfer_from.ts index b5e1c7017..1a5151309 100644 --- a/packages/contracts/test/token_transfer_proxy/transfer_from.ts +++ b/packages/contracts/test/token_transfer_proxy/transfer_from.ts @@ -22,13 +22,6 @@ describe('TokenTransferProxy', () => { let accounts: string[]; let owner: string; let notAuthorized: string; - const config = { - networkId: constants.TESTRPC_NETWORK_ID, - }; - before(async () => { - accounts = await web3Wrapper.getAvailableAddressesAsync(); - owner = notAuthorized = accounts[0]; - }); const INIT_BAL = 100000000; const INIT_ALLOW = 100000000; @@ -38,6 +31,8 @@ describe('TokenTransferProxy', () => { let dmyBalances: Balances; before(async () => { + accounts = await web3Wrapper.getAvailableAddressesAsync(); + owner = notAuthorized = accounts[0]; [tokenTransferProxy, tokenRegistry] = await Promise.all([ TokenTransferProxy.deployed(), TokenRegistry.deployed(), |