mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-23 11:39:05 +00:00
Import test utils separately. (#194)
Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
This commit is contained in:
parent
16b041c5cf
commit
abd3175c09
@ -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
|
||||||
|
@ -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';
|
||||||
|
@ -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 = (
|
||||||
|
@ -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';
|
|
||||||
|
1
packages/util/test/index.ts
Normal file
1
packages/util/test/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from './actions';
|
Loading…
Reference in New Issue
Block a user