Remove truffle from tokenTransferProxy tests

This commit is contained in:
Leonid Logvinov
2018-01-19 13:49:10 +01:00
parent 6463cda204
commit fca051c565
2 changed files with 37 additions and 39 deletions

View File

@@ -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(),