From 6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Tue, 16 Oct 2018 14:59:59 -0700 Subject: Rebase and update to use new modularized artifacts --- packages/pipeline/test/data_types/events/event_utils_test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'packages/pipeline/test/data_types/events') 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); }); }); -- cgit v1.2.3