|
|
@@ -38,6 +38,7 @@ describe('get', () => {
|
|
|
'https://myapi.com/api/item',
|
|
|
null,
|
|
|
{ a: 1 },
|
|
|
+ null,
|
|
|
)
|
|
|
})
|
|
|
})
|
|
|
@@ -60,6 +61,7 @@ describe('post', () => {
|
|
|
'https://myapi.com/api/item',
|
|
|
'request_body',
|
|
|
{ a: 1 },
|
|
|
+ null,
|
|
|
)
|
|
|
})
|
|
|
})
|
|
|
@@ -82,6 +84,7 @@ describe('put', () => {
|
|
|
'https://myapi.com/api/item',
|
|
|
'request_body',
|
|
|
{ a: 1 },
|
|
|
+ null,
|
|
|
)
|
|
|
})
|
|
|
})
|
|
|
@@ -103,6 +106,7 @@ describe('delete', () => {
|
|
|
'https://myapi.com/api/item',
|
|
|
null,
|
|
|
{ a: 1 },
|
|
|
+ null,
|
|
|
)
|
|
|
})
|
|
|
})
|