Import test utils separately. (#194)

Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
This commit is contained in:
nikugogoi 2021-08-09 21:34:55 +05:30 committed by GitHub
parent 16b041c5cf
commit abd3175c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 6 deletions

View File

@ -7,7 +7,9 @@ import _ from 'lodash';
import { import {
Config, Config,
getConfig, getConfig,
wait, wait
} from '@vulcanize/util';
import {
deployTokens, deployTokens,
deployUniswapV3Callee, deployUniswapV3Callee,
TESTERC20_ABI, TESTERC20_ABI,
@ -17,7 +19,7 @@ import {
getMinTick, getMinTick,
getMaxTick, getMaxTick,
approveToken approveToken
} from '@vulcanize/util'; } from '@vulcanize/util/test';
import { Client as UniClient, watchEvent } from '@vulcanize/uni-watcher'; import { Client as UniClient, watchEvent } from '@vulcanize/uni-watcher';
import { import {
abi as FACTORY_ABI abi as FACTORY_ABI

View File

@ -4,7 +4,9 @@ import 'mocha';
import { import {
Config, Config,
getConfig, getConfig
} from '@vulcanize/util';
import {
deployTokens, deployTokens,
deployUniswapV3Callee, deployUniswapV3Callee,
TESTERC20_ABI, TESTERC20_ABI,
@ -12,7 +14,7 @@ import {
getMinTick, getMinTick,
getMaxTick, getMaxTick,
approveToken approveToken
} from '@vulcanize/util'; } from '@vulcanize/util/test';
import { Client as UniClient } from '@vulcanize/uni-watcher'; import { Client as UniClient } from '@vulcanize/uni-watcher';
import { getCache } from '@vulcanize/cache'; import { getCache } from '@vulcanize/cache';
import { EthClient } from '@vulcanize/ipld-eth-client'; import { EthClient } from '@vulcanize/ipld-eth-client';

View File

@ -3,7 +3,7 @@ import { expect } from 'chai';
import 'mocha'; import 'mocha';
import { Client as UniClient } from '@vulcanize/uni-watcher'; import { Client as UniClient } from '@vulcanize/uni-watcher';
import { createPool, initializePool } from '@vulcanize/util'; import { createPool, initializePool } from '@vulcanize/util/test';
// https://github.com/ethers-io/ethers.js/issues/195 // https://github.com/ethers-io/ethers.js/issues/195
export const linkLibraries = ( export const linkLibraries = (

View File

@ -3,4 +3,3 @@ export * from './src/database';
export * from './src/job-queue'; export * from './src/job-queue';
export * from './src/constants'; export * from './src/constants';
export * from './src/index'; export * from './src/index';
export * from './test/actions';

View File

@ -0,0 +1 @@
export * from './actions';