diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-03-16 01:13:49 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-03-16 01:14:51 +0800 |
commit | 3430e2bdac906d5842e9d7cde38c840159b816fd (patch) | |
tree | fc0fd7521fa4b6fdad728a317c3843536c46af10 /packages/sra-report/src | |
parent | cdcf925378d466590ebc478243219b3510580e65 (diff) | |
download | dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.tar dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.tar.gz dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.tar.bz2 dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.tar.lz dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.tar.xz dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.tar.zst dexon-sol-tools-3430e2bdac906d5842e9d7cde38c840159b816fd.zip |
Fix bad merge
Diffstat (limited to 'packages/sra-report/src')
-rw-r--r-- | packages/sra-report/src/index.ts | 1 | ||||
-rw-r--r-- | packages/sra-report/src/utils.ts | 6 |
2 files changed, 7 insertions, 0 deletions
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), +}; |