aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-report/src/index.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-20 19:52:22 +0800
committerFabio Berger <me@fabioberger.com>2018-03-20 19:52:22 +0800
commit2f7c19e80d31cbcc09c6e87841682e8f35f0ecd5 (patch)
tree60d846e22cf80416f0dd43ead8dd494c5735152f /packages/sra-report/src/index.ts
parent5468358f2142549c68ffae0085ce7d31ea271ea4 (diff)
parent7d9c357409c25996f9c448dffd69007f69b9d8d6 (diff)
downloaddexon-sol-tools-2f7c19e80d31cbcc09c6e87841682e8f35f0ecd5.tar
dexon-sol-tools-2f7c19e80d31cbcc09c6e87841682e8f35f0ecd5.tar.gz
dexon-sol-tools-2f7c19e80d31cbcc09c6e87841682e8f35f0ecd5.tar.bz2
dexon-sol-tools-2f7c19e80d31cbcc09c6e87841682e8f35f0ecd5.tar.lz
dexon-sol-tools-2f7c19e80d31cbcc09c6e87841682e8f35f0ecd5.tar.xz
dexon-sol-tools-2f7c19e80d31cbcc09c6e87841682e8f35f0ecd5.tar.zst
dexon-sol-tools-2f7c19e80d31cbcc09c6e87841682e8f35f0ecd5.zip
Merge branch 'development' into addExtraDocs
* development: (29 commits) Set Lodash dep to an exact version since newer versions introduced breaking changes Update Kovan Ethertoken Address Update deployer version since manual re-publish Add new entry into CHANGELOG Fix bad merge Update yarn.lock Change title Add Blake and Zach to About page Re-size Jacob and Tom's images Manually publish 0x.js back to a working state Publish Publish Fix 0x.js assets Remove assets from connect and _bundles from packages that don't generate the folder Publish Fix packages that aren't working as expected Make new packages default to public on publish Add new public packages to top-level README Update top-level package.json Fix incorrect new versions ... # Conflicts: # packages/0x.js/package.json # packages/connect/package.json # packages/json-schemas/package.json # packages/sol-cov/package.json
Diffstat (limited to 'packages/sra-report/src/index.ts')
-rw-r--r--packages/sra-report/src/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/sra-report/src/index.ts b/packages/sra-report/src/index.ts
index e9d55ab9b..9a203b654 100644
--- a/packages/sra-report/src/index.ts
+++ b/packages/sra-report/src/index.ts
@@ -7,11 +7,11 @@ import * as _ from 'lodash';
import * as newman from 'newman';
import * as yargs from 'yargs';
-import * as sraReportCollectionJSON from '../postman_configs/collections/sra_report.postman_collection.json';
+import * as sraReportCollectionJSON from '../../postman_collections/sra_report.postman_collection.json';
import { postmanEnvironmentFactory } from './postman_environment_factory';
+import { utils } from './utils';
-const newmanRunAsync = promisify<void>(newman.run);
const DEFAULT_NETWORK_ID = 1;
const SUPPORTED_NETWORK_IDS = [1, 3, 4, 42];
@@ -96,6 +96,6 @@ const mainAsync = async () => {
exportEnvironment: args.exportEnvironment,
...newmanReporterOptions,
};
- await newmanRunAsync(newmanRunOptions);
+ await utils.newmanRunAsync(newmanRunOptions);
};
mainAsync().catch(logUtils.log);