aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-09-04 20:47:29 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-09-04 22:36:18 +0800
commitc13190ceab6cea692e55c4e0561cc8846cd47839 (patch)
treea23be1ce5116350ebd478cae33d529496d124b74
parent78d4fc59a5ea5e2c3da9c221967dc792445419ae (diff)
downloaddexon-sol-tools-c13190ceab6cea692e55c4e0561cc8846cd47839.tar.gz
dexon-sol-tools-c13190ceab6cea692e55c4e0561cc8846cd47839.tar.zst
dexon-sol-tools-c13190ceab6cea692e55c4e0561cc8846cd47839.zip
Remove types for newman from typescript-typings
-rw-r--r--packages/sra-report/package.json1
-rw-r--r--packages/typescript-typings/types/newman/index.d.ts24
2 files changed, 1 insertions, 24 deletions
diff --git a/packages/sra-report/package.json b/packages/sra-report/package.json
index 481794d5d..31453969c 100644
--- a/packages/sra-report/package.json
+++ b/packages/sra-report/package.json
@@ -51,6 +51,7 @@
"@types/mocha": "^2.2.48",
"@types/nock": "^9.1.2",
"@types/node": "^8.0.53",
+ "@types/newman": "^3.9.0",
"@types/yargs": "^10.0.0",
"chai": "^4.0.1",
"chai-as-promised": "^7.1.0",
diff --git a/packages/typescript-typings/types/newman/index.d.ts b/packages/typescript-typings/types/newman/index.d.ts
deleted file mode 100644
index bea9ac160..000000000
--- a/packages/typescript-typings/types/newman/index.d.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-declare module 'newman' {
- export interface NewmanRunSummary {
- run: NewmanRun;
- }
- export interface NewmanRun {
- executions: NewmanRunExecution[];
- }
- export interface NewmanRunExecution {
- item: NewmanRunExecutionItem;
- assertions: NewmanRunExecutionAssertion[];
- }
- export interface NewmanRunExecutionItem {
- name: string;
- }
- export interface NewmanRunExecutionAssertion {
- assertion: string;
- error: NewmanRunExecutionAssertionError;
- }
- export interface NewmanRunExecutionAssertionError {
- message: string;
- }
- // tslint:disable-next-line:completed-docs
- export function run(options: any, callback?: (err: Error | null, summary: NewmanRunSummary) => void): void;
-}