mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 02:39:19 +08:00
fixes
This commit is contained in:
@@ -410,10 +410,7 @@ axios(config)
|
||||
expectedCode);
|
||||
});
|
||||
test('POST 4', () {
|
||||
const expectedCode =
|
||||
r"""// refer https://github.com/foss42/apidash/issues/293#issuecomment-1997568083 for details regarding integration
|
||||
|
||||
const config = {
|
||||
const expectedCode = r"""const config = {
|
||||
url: 'https://api.apidash.dev/io/form',
|
||||
method: 'post',
|
||||
headers: {
|
||||
@@ -445,10 +442,7 @@ axios(config)
|
||||
});
|
||||
|
||||
test('POST 5', () {
|
||||
const expectedCode =
|
||||
r"""// refer https://github.com/foss42/apidash/issues/293#issuecomment-1997568083 for details regarding integration
|
||||
|
||||
const config = {
|
||||
const expectedCode = r"""const config = {
|
||||
url: 'https://api.apidash.dev/io/form',
|
||||
method: 'post',
|
||||
headers: {
|
||||
@@ -546,10 +540,7 @@ axios(config)
|
||||
expectedCode);
|
||||
});
|
||||
test('POST 8', () {
|
||||
const expectedCode =
|
||||
r"""// refer https://github.com/foss42/apidash/issues/293#issuecomment-1997568083 for details regarding integration
|
||||
|
||||
const config = {
|
||||
const expectedCode = r"""const config = {
|
||||
url: 'https://api.apidash.dev/io/form',
|
||||
method: 'post',
|
||||
params: {
|
||||
|
||||
@@ -461,7 +461,6 @@ axios(config)
|
||||
});
|
||||
test('POST 4', () {
|
||||
const expectedCode = r"""import axios from 'axios';
|
||||
import fs from 'fs'
|
||||
|
||||
const config = {
|
||||
url: 'https://api.apidash.dev/io/form',
|
||||
@@ -496,7 +495,6 @@ axios(config)
|
||||
|
||||
test('POST 5', () {
|
||||
const expectedCode = r"""import axios from 'axios';
|
||||
import fs from 'fs'
|
||||
|
||||
const config = {
|
||||
url: 'https://api.apidash.dev/io/form',
|
||||
@@ -597,7 +595,6 @@ axios(config)
|
||||
});
|
||||
test('POST 8', () {
|
||||
const expectedCode = r"""import axios from 'axios';
|
||||
import fs from 'fs'
|
||||
|
||||
const config = {
|
||||
url: 'https://api.apidash.dev/io/form',
|
||||
|
||||
Reference in New Issue
Block a user