aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-report/src/utils.ts
blob: 57c1b5af3cafcf231ff6a1413b9df03a46586f24 (plain) (blame)
1
2
3
4
5
6
7
8
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),
};