This commit is contained in:
askeluv
2019-02-26 11:46:21 +08:00
parent 9fbd809344
commit 6ac9e11245
2 changed files with 3 additions and 5 deletions

View File

@@ -25,6 +25,6 @@ const ParsedEtherscanTransactions: EtherscanTransaction[] = [
cumulativeGasUsed: new BigNumber('6068925'), cumulativeGasUsed: new BigNumber('6068925'),
gasUsed: new BigNumber('6005925'), gasUsed: new BigNumber('6005925'),
confirmations: new BigNumber('996941'), confirmations: new BigNumber('996941'),
} },
]; ];
export { ParsedEtherscanTransactions }; export { ParsedEtherscanTransactions };

View File

@@ -1,14 +1,12 @@
import { BigNumber } from '@0x/utils';
import * as chai from 'chai'; import * as chai from 'chai';
import 'mocha'; import 'mocha';
import { EtherscanResponse, EtherscanTransactionResponse } from '../../../src/data_sources/etherscan'; import { EtherscanResponse } from '../../../src/data_sources/etherscan';
import { EtherscanTransaction } from '../../../src/entities';
import { parseEtherscanTransactions } from '../../../src/parsers/etherscan'; import { parseEtherscanTransactions } from '../../../src/parsers/etherscan';
import { chaiSetup } from '../../utils/chai_setup'; import { chaiSetup } from '../../utils/chai_setup';
import * as etherscanResponse from '../../fixtures/etherscan/api_v1_accounts_transactions.json';
import { ParsedEtherscanTransactions } from '../../fixtures/etherscan/api_v1_accounts_transactions'; import { ParsedEtherscanTransactions } from '../../fixtures/etherscan/api_v1_accounts_transactions';
import * as etherscanResponse from '../../fixtures/etherscan/api_v1_accounts_transactions.json';
chaiSetup.configure(); chaiSetup.configure();
const expect = chai.expect; const expect = chai.expect;