Run tests against all codegen instead of individual ones (#1255)

* run tests against all codegens instead of individual ones

* table testing

* fixture is no longer needed

Co-authored-by: Qing Ye <ye.qing@go-jek.com>
This commit is contained in:
YE Qing
2020-10-09 16:34:12 +08:00
committed by GitHub
parent 5f5589f1f1
commit 1afd0381c1
6 changed files with 957 additions and 190 deletions

View File

@@ -2,18 +2,19 @@ export const CurlCodegen = {
id: "curl",
name: "cURL",
generator: ({
method,
url,
pathName,
queryString,
auth,
httpUser,
httpPassword,
bearerToken,
headers,
method,
rawInput,
rawParams,
rawRequestBody,
contentType,
headers,
}) => {
const requestString = []
requestString.push(`curl -X ${method}`)