diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-12 13:03:07 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-12 13:03:07 +0800 |
commit | 534a0d68362abb5a7e643852015c3496bead705c (patch) | |
tree | 02c5421e59dc6dea4e18dd41744a5c5fa9c49f9f /packages/metacoin/test/utils | |
parent | 682f6d273c7ed4a53d02df0a33e07415836d5732 (diff) | |
download | dexon-sol-tools-534a0d68362abb5a7e643852015c3496bead705c.tar dexon-sol-tools-534a0d68362abb5a7e643852015c3496bead705c.tar.gz dexon-sol-tools-534a0d68362abb5a7e643852015c3496bead705c.tar.bz2 dexon-sol-tools-534a0d68362abb5a7e643852015c3496bead705c.tar.lz dexon-sol-tools-534a0d68362abb5a7e643852015c3496bead705c.tar.xz dexon-sol-tools-534a0d68362abb5a7e643852015c3496bead705c.tar.zst dexon-sol-tools-534a0d68362abb5a7e643852015c3496bead705c.zip |
Fix typos
Diffstat (limited to 'packages/metacoin/test/utils')
-rw-r--r-- | packages/metacoin/test/utils/web3_wrapper.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/metacoin/test/utils/web3_wrapper.ts b/packages/metacoin/test/utils/web3_wrapper.ts index c09f8d2df..9bc3d05ac 100644 --- a/packages/metacoin/test/utils/web3_wrapper.ts +++ b/packages/metacoin/test/utils/web3_wrapper.ts @@ -1,6 +1,6 @@ import { env, EnvVars } from '@0xproject/dev-utils'; import { GanacheSubprovider, prependSubprovider } from '@0xproject/subproviders'; -import { logUtils } from '@0xproject/utils'; +import { logUtils, errorUtils } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as fs from 'fs'; import ProviderEngine = require('web3-provider-engine'); @@ -27,7 +27,7 @@ switch (process.env.TEST_PROVIDER) { testProvider = ProviderType.Geth; break; default: - throw new Error(`Unknown TEST_PROVIDER: ${process.env.TEST_PROVIDER}`); + throw errorUtils.spawnSwitchErr('TEST_PROVIDER', process.env.TEST_PROVIDER); } export const provider = new ProviderEngine(); |