diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-17 05:59:59 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-06 19:04:24 +0800 |
commit | 8c0dfc1936340a08ff627db3c6203bf6836c2992 (patch) | |
tree | ab4b2ffeb97f5ed018d273bd24c1c34ef6075fa0 /packages/pipeline/test | |
parent | 392e89fcbb768e76968ad94591e665da630dc988 (diff) | |
download | dexon-sol-tools-8c0dfc1936340a08ff627db3c6203bf6836c2992.tar dexon-sol-tools-8c0dfc1936340a08ff627db3c6203bf6836c2992.tar.gz dexon-sol-tools-8c0dfc1936340a08ff627db3c6203bf6836c2992.tar.bz2 dexon-sol-tools-8c0dfc1936340a08ff627db3c6203bf6836c2992.tar.lz dexon-sol-tools-8c0dfc1936340a08ff627db3c6203bf6836c2992.tar.xz dexon-sol-tools-8c0dfc1936340a08ff627db3c6203bf6836c2992.tar.zst dexon-sol-tools-8c0dfc1936340a08ff627db3c6203bf6836c2992.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.ts | 5 |
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); }); }); |