{"size": 2638, "ext": "js", "max_stars_repo_path": "Study_Nuxt/Day17/Project/letao-server/node_modules/tencentcloud-sdk-nodejs/test/essbasic.v20210526.test.js", "max_stars_repo_name": "LiJiaQi1232/The-fifth-semester", "max_stars_repo_stars_event_min_datetime": "2018-05-30T08:42:43.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-26T11:16:38.000Z", "max_issues_repo_path": "Study_Nuxt/Day17/Project/letao-server/node_modules/tencentcloud-sdk-nodejs/test/essbasic.v20210526.test.js", "max_issues_repo_name": "LiJiaQi1232/The-fifth-semester", "max_issues_repo_issues_event_min_datetime": "2018-06-15T12:28:52.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-24T08:06:57.000Z", "max_forks_repo_path": "Study_Nuxt/Day17/Project/letao-server/node_modules/tencentcloud-sdk-nodejs/test/essbasic.v20210526.test.js", "max_forks_repo_name": "LiJiaQi1232/The-fifth-semester", "max_forks_repo_forks_event_min_datetime": "2018-05-31T03:12:56.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-30T08:04:52.000Z"}
{"max_stars_count": 266, "max_issues_count": 76, "max_forks_count": 89, "avg_line_length": 25.862745098, "max_line_length": 75, "alphanum_fraction": 0.633055345}

const expect = require("chai").expect
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
const client = new tencentcloud.essbasic.v20210526.Client({
  credential: {
    secretId: process.env.secretId,
    secretKey: process.env.secretKey,
  },
  region: "ap-shanghai",
  profile: {
    signMethod: "TC3-HMAC-SHA256",
    httpProfile: {
      reqMethod: "POST",
      reqTimeout: 30,
      endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
    },
  },
})
describe("essbasic.v20210526.test.js", function () {

it("essbasic.v20210526.CreateFlowsByTemplates", async function () {
    try {
       const data = await client.CreateFlowsByTemplates({})
       expect(data).to.be.ok
    } catch(error) {
      expect(error.requestId).to.be.ok
      expect(error.code).to.be.ok
    }
})

it("essbasic.v20210526.PrepareFlows", async function () {
    try {
       const data = await client.PrepareFlows({})
       expect(data).to.be.ok
    } catch(error) {
      expect(error.requestId).to.be.ok
      expect(error.code).to.be.ok
    }
})

it("essbasic.v20210526.CreateSignUrls", async function () {
    try {
       const data = await client.CreateSignUrls({})
       expect(data).to.be.ok
    } catch(error) {
      expect(error.requestId).to.be.ok
      expect(error.code).to.be.ok
    }
})

it("essbasic.v20210526.CreateConsoleLoginUrl", async function () {
    try {
       const data = await client.CreateConsoleLoginUrl({})
       expect(data).to.be.ok
    } catch(error) {
      expect(error.requestId).to.be.ok
      expect(error.code).to.be.ok
    }
})

it("essbasic.v20210526.SyncProxyOrganizationOperators", async function () {
    try {
       const data = await client.SyncProxyOrganizationOperators({})
       expect(data).to.be.ok
    } catch(error) {
      expect(error.requestId).to.be.ok
      expect(error.code).to.be.ok
    }
})

it("essbasic.v20210526.DescribeUsage", async function () {
    try {
       const data = await client.DescribeUsage({})
       expect(data).to.be.ok
    } catch(error) {
      expect(error.requestId).to.be.ok
      expect(error.code).to.be.ok
    }
})

it("essbasic.v20210526.SyncProxyOrganization", async function () {
    try {
       const data = await client.SyncProxyOrganization({})
       expect(data).to.be.ok
    } catch(error) {
      expect(error.requestId).to.be.ok
      expect(error.code).to.be.ok
    }
})

it("essbasic.v20210526.DescribeTemplates", async function () {
    try {
       const data = await client.DescribeTemplates({})
       expect(data).to.be.ok
    } catch(error) {
      expect(error.requestId).to.be.ok
      expect(error.code).to.be.ok
    }
})

})
