diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/monorepo-scripts/src/utils.ts | 4 | ||||
-rw-r--r-- | packages/sra-report/src/index.ts | 1 | ||||
-rw-r--r-- | packages/sra-report/src/utils.ts | 6 |
3 files changed, 7 insertions, 4 deletions
diff --git a/packages/monorepo-scripts/src/utils.ts b/packages/monorepo-scripts/src/utils.ts index 57c1b5af3..5423cabd9 100644 --- a/packages/monorepo-scripts/src/utils.ts +++ b/packages/monorepo-scripts/src/utils.ts @@ -1,9 +1,5 @@ -import { promisify } from '@0xproject/utils'; -import { NewmanRunSummary, run as newmanRun } from 'newman'; - export const utils = { log(...args: any[]): void { console.log(...args); // tslint:disable-line:no-console }, - newmanRunAsync: promisify<NewmanRunSummary>(newmanRun), }; diff --git a/packages/sra-report/src/index.ts b/packages/sra-report/src/index.ts index bce9d17ec..9a203b654 100644 --- a/packages/sra-report/src/index.ts +++ b/packages/sra-report/src/index.ts @@ -10,6 +10,7 @@ import * as yargs from 'yargs'; import * as sraReportCollectionJSON from '../../postman_collections/sra_report.postman_collection.json'; import { postmanEnvironmentFactory } from './postman_environment_factory'; +import { utils } from './utils'; const DEFAULT_NETWORK_ID = 1; const SUPPORTED_NETWORK_IDS = [1, 3, 4, 42]; diff --git a/packages/sra-report/src/utils.ts b/packages/sra-report/src/utils.ts new file mode 100644 index 000000000..3a83a7ea0 --- /dev/null +++ b/packages/sra-report/src/utils.ts @@ -0,0 +1,6 @@ +import { promisify } from '@0xproject/utils'; +import { NewmanRunSummary, run as newmanRun } from 'newman'; + +export const utils = { + newmanRunAsync: promisify<NewmanRunSummary>(newmanRun), +}; |