diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-04-17 02:47:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-17 02:47:28 +0800 |
commit | d263f7783fabe89cc9714b596068eccdc5babc1c (patch) | |
tree | 54a5c8f0a88320f3df8330d95506aea96e808bd3 /packages/deployer/test/deployer_test.ts | |
parent | 1fcf3c5dc44d10648e14d6b10c174930eecf27b1 (diff) | |
parent | d8ef76fd5efe63ec8f6205a73494ce388e64391f (diff) | |
download | dexon-sol-tools-d263f7783fabe89cc9714b596068eccdc5babc1c.tar dexon-sol-tools-d263f7783fabe89cc9714b596068eccdc5babc1c.tar.gz dexon-sol-tools-d263f7783fabe89cc9714b596068eccdc5babc1c.tar.bz2 dexon-sol-tools-d263f7783fabe89cc9714b596068eccdc5babc1c.tar.lz dexon-sol-tools-d263f7783fabe89cc9714b596068eccdc5babc1c.tar.xz dexon-sol-tools-d263f7783fabe89cc9714b596068eccdc5babc1c.tar.zst dexon-sol-tools-d263f7783fabe89cc9714b596068eccdc5babc1c.zip |
Merge pull request #512 from 0xProject/feature/resolver
Dependencies resolver for deployer
Diffstat (limited to 'packages/deployer/test/deployer_test.ts')
-rw-r--r-- | packages/deployer/test/deployer_test.ts | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/packages/deployer/test/deployer_test.ts b/packages/deployer/test/deployer_test.ts index a213932f9..238624220 100644 --- a/packages/deployer/test/deployer_test.ts +++ b/packages/deployer/test/deployer_test.ts @@ -4,13 +4,7 @@ import 'mocha'; import { Compiler } from '../src/compiler'; import { Deployer } from '../src/deployer'; import { fsWrapper } from '../src/utils/fs_wrapper'; -import { - CompilerOptions, - ContractArtifact, - ContractDirectory, - ContractNetworkData, - DoneCallback, -} from '../src/utils/types'; +import { CompilerOptions, ContractArtifact, ContractNetworkData, DoneCallback } from '../src/utils/types'; import { constructor_args, exchange_binary } from './fixtures/exchange_bin'; import { constants } from './util/constants'; @@ -20,15 +14,11 @@ const expect = chai.expect; describe('#Deployer', () => { const artifactsDir = `${__dirname}/fixtures/artifacts`; + const contractsDir = `${__dirname}/fixtures/contracts`; const exchangeArtifactPath = `${artifactsDir}/Exchange.json`; - const mainContractDir: ContractDirectory = { path: `${__dirname}/fixtures/contracts/main`, namespace: '' }; - const baseContractDir: ContractDirectory = { path: `${__dirname}/fixtures/contracts/base`, namespace: 'base' }; - const contractDirs: Set<ContractDirectory> = new Set(); - contractDirs.add(mainContractDir); - contractDirs.add(baseContractDir); const compilerOpts: CompilerOptions = { artifactsDir, - contractDirs, + contractsDir, networkId: constants.networkId, optimizerEnabled: constants.optimizerEnabled, specifiedContracts: new Set(constants.specifiedContracts), |