aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/ether_token.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/ether_token.ts
parent6f13d107c4ca90049249e44a90b45cac2b490762 (diff)
downloaddexon-sol-tools-9d62e5fb6f0dc6dc451604f02fb4374a36fcac3c.tar
dexon-sol-tools-9d62e5fb6f0dc6dc451604f02fb4374a36fcac3c.tar.gz
dexon-sol-tools-9d62e5fb6f0dc6dc451604f02fb4374a36fcac3c.tar.bz2
dexon-sol-tools-9d62e5fb6f0dc6dc451604f02fb4374a36fcac3c.tar.lz
dexon-sol-tools-9d62e5fb6f0dc6dc451604f02fb4374a36fcac3c.tar.xz
dexon-sol-tools-9d62e5fb6f0dc6dc451604f02fb4374a36fcac3c.tar.zst
dexon-sol-tools-9d62e5fb6f0dc6dc451604f02fb4374a36fcac3c.zip
Use an enum for contract name
Diffstat (limited to 'packages/contracts/test/ether_token.ts')
-rw-r--r--packages/contracts/test/ether_token.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/test/ether_token.ts b/packages/contracts/test/ether_token.ts
index fd7321280..2bcc0e2c5 100644
--- a/packages/contracts/test/ether_token.ts
+++ b/packages/contracts/test/ether_token.ts
@@ -5,6 +5,7 @@ import { Web3Wrapper } from '@0xproject/web3-wrapper';
import * as chai from 'chai';
import { constants } from '../util/constants';
+import { ContractName } from '../util/types';
import { chaiSetup } from './utils/chai_setup';
import { deployer } from './utils/deployer';
@@ -24,7 +25,7 @@ describe('EtherToken', () => {
const accounts = await web3Wrapper.getAvailableAddressesAsync();
account = accounts[0];
- const etherToken = await deployer.deployAsync('WETH9');
+ const etherToken = await deployer.deployAsync(ContractName.EtherToken);
etherTokenAddress = etherToken.address;
zeroEx = new ZeroEx(web3.currentProvider, {
gasPrice,