mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-07 20:08:06 +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 {
|
||||
Config,
|
||||
getConfig,
|
||||
wait,
|
||||
wait
|
||||
} from '@vulcanize/util';
|
||||
import {
|
||||
deployTokens,
|
||||
deployUniswapV3Callee,
|
||||
TESTERC20_ABI,
|
||||
@ -17,7 +19,7 @@ import {
|
||||
getMinTick,
|
||||
getMaxTick,
|
||||
approveToken
|
||||
} from '@vulcanize/util';
|
||||
} from '@vulcanize/util/test';
|
||||
import { Client as UniClient, watchEvent } from '@vulcanize/uni-watcher';
|
||||
import {
|
||||
abi as FACTORY_ABI
|
||||
|
@ -4,7 +4,9 @@ import 'mocha';
|
||||
|
||||
import {
|
||||
Config,
|
||||
getConfig,
|
||||
getConfig
|
||||
} from '@vulcanize/util';
|
||||
import {
|
||||
deployTokens,
|
||||
deployUniswapV3Callee,
|
||||
TESTERC20_ABI,
|
||||
@ -12,7 +14,7 @@ import {
|
||||
getMinTick,
|
||||
getMaxTick,
|
||||
approveToken
|
||||
} from '@vulcanize/util';
|
||||
} from '@vulcanize/util/test';
|
||||
import { Client as UniClient } from '@vulcanize/uni-watcher';
|
||||
import { getCache } from '@vulcanize/cache';
|
||||
import { EthClient } from '@vulcanize/ipld-eth-client';
|
||||
|
@ -3,7 +3,7 @@ import { expect } from 'chai';
|
||||
import 'mocha';
|
||||
|
||||
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
|
||||
export const linkLibraries = (
|
||||
|
@ -3,4 +3,3 @@ export * from './src/database';
|
||||
export * from './src/job-queue';
|
||||
export * from './src/constants';
|
||||
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