Simplify API wrappers (#839)
* Updated code generation * API generation * Updated test * Updated code generation * API generation * API generation
This commit is contained in:
committed by
delvedor
parent
99ada00747
commit
132072b8ab
@ -53,15 +53,7 @@ test('Should emit a request event when a request is performed', t => {
|
||||
'Content-Length': '0'
|
||||
}
|
||||
},
|
||||
options: {
|
||||
ignore: null,
|
||||
requestTimeout: null,
|
||||
maxRetries: null,
|
||||
asStream: false,
|
||||
headers: null,
|
||||
compression: false,
|
||||
warnings: null
|
||||
},
|
||||
options: {},
|
||||
id: 1
|
||||
},
|
||||
connection: {
|
||||
@ -114,15 +106,7 @@ test('Should emit a response event in case of a successful response', t => {
|
||||
'Content-Length': '0'
|
||||
}
|
||||
},
|
||||
options: {
|
||||
ignore: null,
|
||||
requestTimeout: null,
|
||||
maxRetries: null,
|
||||
asStream: false,
|
||||
headers: null,
|
||||
compression: false,
|
||||
warnings: null
|
||||
},
|
||||
options: {},
|
||||
id: 1
|
||||
},
|
||||
connection: {
|
||||
@ -174,13 +158,7 @@ test('Should emit a response event with the error set', t => {
|
||||
}
|
||||
},
|
||||
options: {
|
||||
ignore: null,
|
||||
requestTimeout: 500,
|
||||
maxRetries: null,
|
||||
asStream: false,
|
||||
headers: null,
|
||||
compression: false,
|
||||
warnings: null
|
||||
requestTimeout: 500
|
||||
},
|
||||
id: 1
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user