aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/test
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-10-17 05:59:59 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 06:24:06 +0800
commit6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f (patch)
tree383c2dfd58a20e40c91e7e99498ad4264cfa88cd /packages/pipeline/test
parentada78d140b3d60997461e3786564baec291b7220 (diff)
downloaddexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.tar
dexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.tar.gz
dexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.tar.bz2
dexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.tar.lz
dexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.tar.xz
dexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.tar.zst
dexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.zip
Rebase and update to use new modularized artifacts
Diffstat (limited to 'packages/pipeline/test')
-rw-r--r--packages/pipeline/test/data_types/events/event_utils_test.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/pipeline/test/data_types/events/event_utils_test.ts b/packages/pipeline/test/data_types/events/event_utils_test.ts
index 91a73c47d..731819106 100644
--- a/packages/pipeline/test/data_types/events/event_utils_test.ts
+++ b/packages/pipeline/test/data_types/events/event_utils_test.ts
@@ -1,10 +1,9 @@
+import { Exchange } from '@0xproject/contract-artifacts';
import { BigNumber } from '@0xproject/utils';
import * as chai from 'chai';
import { DecodedLogArgs, LogEntry, LogWithDecodedArgs } from 'ethereum-types';
import 'mocha';
-import { artifacts } from '../../../src/artifacts';
-
import { EventsResponseResult } from '../../../src/data_sources/etherscan';
import { convertResponseToLogEntry, decodeLogEntry } from '../../../src/data_types/events/event_utils';
import { chaiSetup } from '../../utils/chai_setup';
@@ -80,7 +79,7 @@ describe('event_utils', () => {
takerAssetData: '0xf47261b0000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
},
};
- const actual = decodeLogEntry(artifacts.Exchange.compilerOutput.abi, input);
+ const actual = decodeLogEntry(Exchange.compilerOutput.abi, input);
expect(actual).deep.equal(expected);
});
});