aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/token_registry.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-26 18:39:31 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-30 23:01:37 +0800
commit9d62e5fb6f0dc6dc451604f02fb4374a36fcac3c (patch)
treeb8c0c1efc2558b750a4ccfead3bd5d4e19bf0d08 /packages/contracts/test/token_registry.ts
parent6f13d107c4ca90049249e44a90b45cac2b490762 (diff)
downloaddexon-sol-tools-9d62e5fb6f0dc6dc451604f02fb4374a36fcac3c.tar.gz
dexon-sol-tools-9d62e5fb6f0dc6dc451604f02fb4374a36fcac3c.tar.zst
dexon-sol-tools-9d62e5fb6f0dc6dc451604f02fb4374a36fcac3c.zip
Use an enum for contract name
Diffstat (limited to 'packages/contracts/test/token_registry.ts')
-rw-r--r--packages/contracts/test/token_registry.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/test/token_registry.ts b/packages/contracts/test/token_registry.ts
index 549b2f175..f84a99e8f 100644
--- a/packages/contracts/test/token_registry.ts
+++ b/packages/contracts/test/token_registry.ts
@@ -8,6 +8,7 @@ import * as Web3 from 'web3';
import { constants } from '../util/constants';
import { TokenRegWrapper } from '../util/token_registry_wrapper';
+import { ContractName } from '../util/types';
import { chaiSetup } from './utils/chai_setup';
import { deployer } from './utils/deployer';
@@ -27,7 +28,7 @@ describe('TokenRegistry', () => {
const accounts = await web3Wrapper.getAvailableAddressesAsync();
owner = accounts[0];
notOwner = accounts[1];
- tokenReg = await deployer.deployAsync('TokenRegistry');
+ tokenReg = await deployer.deployAsync(ContractName.TokenRegistry);
tokenRegWrapper = new TokenRegWrapper(tokenReg);
});
beforeEach(async () => {