aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-22 07:44:25 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-23 06:20:34 +0800
commit86f17fb466124ad4ecd9e4ac47e7fecde8f585ee (patch)
tree5063effb15a0cd15bc3f0422cae72ab6c33597d1 /packages/sol-cov/test
parent6aafda45170d77f9e10025ce119d47d9710a87ec (diff)
downloaddexon-sol-tools-86f17fb466124ad4ecd9e4ac47e7fecde8f585ee.tar
dexon-sol-tools-86f17fb466124ad4ecd9e4ac47e7fecde8f585ee.tar.gz
dexon-sol-tools-86f17fb466124ad4ecd9e4ac47e7fecde8f585ee.tar.bz2
dexon-sol-tools-86f17fb466124ad4ecd9e4ac47e7fecde8f585ee.tar.lz
dexon-sol-tools-86f17fb466124ad4ecd9e4ac47e7fecde8f585ee.tar.xz
dexon-sol-tools-86f17fb466124ad4ecd9e4ac47e7fecde8f585ee.tar.zst
dexon-sol-tools-86f17fb466124ad4ecd9e4ac47e7fecde8f585ee.zip
Rename ZeroExArtifactAdapter to SolCompilerArtifactAdapter
Diffstat (limited to 'packages/sol-cov/test')
-rw-r--r--packages/sol-cov/test/collect_contracts_data_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/sol-cov/test/collect_contracts_data_test.ts b/packages/sol-cov/test/collect_contracts_data_test.ts
index 906b7f4e2..7a0b9fef5 100644
--- a/packages/sol-cov/test/collect_contracts_data_test.ts
+++ b/packages/sol-cov/test/collect_contracts_data_test.ts
@@ -4,7 +4,7 @@ import 'make-promises-safe';
import 'mocha';
import * as path from 'path';
-import { ZeroExArtifactAdapter } from '../src/artifact_adapters/0x';
+import { SolCompilerArtifactAdapter } from '../src/artifact_adapters/0x';
const expect = chai.expect;
@@ -13,7 +13,7 @@ describe('Collect contracts data', () => {
it('correctly collects contracts data', async () => {
const artifactsPath = path.resolve(__dirname, 'fixtures/artifacts');
const sourcesPath = path.resolve(__dirname, 'fixtures/contracts');
- const zeroExArtifactsAdapter = new ZeroExArtifactAdapter(artifactsPath, sourcesPath);
+ const zeroExArtifactsAdapter = new SolCompilerArtifactAdapter(artifactsPath, sourcesPath);
const contractsData = await zeroExArtifactsAdapter.collectContractsDataAsync();
_.forEach(contractsData, contractData => {
expect(contractData).to.have.keys([