diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-03-20 01:28:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-20 01:28:02 +0800 |
commit | c7c12371ef581920cbb10cc4586de17cdaa333f6 (patch) | |
tree | 40daa2b500f20078d31c9ee864f936c4b7bb2a3d /packages/sra-report/src/utils.ts | |
parent | 2a438419ab3bc32dba43918cf2eb480439ef81de (diff) | |
parent | fb40b105015a20bb4359a3360258c9f85c495744 (diff) | |
download | dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.tar dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.tar.gz dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.tar.bz2 dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.tar.lz dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.tar.xz dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.tar.zst dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.zip |
Merge pull request #451 from 0xProject/feature/sra-report/collection-tests@0xproject/deployer@0.3.3
Add scaffolding for sra-report collection unit tests
Diffstat (limited to 'packages/sra-report/src/utils.ts')
-rw-r--r-- | packages/sra-report/src/utils.ts | 6 |
1 files changed, 6 insertions, 0 deletions
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), +}; |