aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-report/src/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sra-report/src/utils.ts')
-rw-r--r--packages/sra-report/src/utils.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/sra-report/src/utils.ts b/packages/sra-report/src/utils.ts
index 5423cabd9..57c1b5af3 100644
--- a/packages/sra-report/src/utils.ts
+++ b/packages/sra-report/src/utils.ts
@@ -1,5 +1,9 @@
+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),
};