Updated test snapshot

This commit is contained in:
Liyas Thomas
2020-11-03 14:06:24 +05:30
parent 2c9c598dd7
commit 7411f01fb5

View File

@@ -546,7 +546,7 @@ exports[`generate request for NodeJs Axios generate GET request 1`] = `
`;
exports[`generate request for NodeJs Axios generate POST request for JSON 1`] = `
"axios.post('https://httpbin.org/path/to?a=b',{
"axios.post('https://httpbin.org/path/to?a=b', {\\"foo\\": \\"bar\\", \\"baz\\": \\"qux\\"},{
headers : { \\"h1\\": \\"h1v\\",
\\"h2\\": \\"h2v\\",
\\"Content-Type\\": \\"application/json; charset=utf-8\\",
@@ -560,7 +560,10 @@ exports[`generate request for NodeJs Axios generate POST request for JSON 1`] =
`;
exports[`generate request for NodeJs Axios generate POST request for XML 1`] = `
"axios.post('https://httpbin.org/path/to?a=b',{
"axios.post('https://httpbin.org/path/to?a=b', <?xml version='1.0' encoding='utf-8'?>
<xml>
<element foo=\\"bar\\"></element>
</xml>,{
headers : { \\"h1\\": \\"h1v\\",
\\"h2\\": \\"h2v\\",
\\"Content-Type\\": \\"application/xml; charset=utf-8\\",