text: 
  const expect = require("chai").expect
  const tencentcloud = require("../../tencentcloud-sdk-nodejs")
  const client = new tencentcloud.af.v20200226.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("af.v20200226.test.js", function () {
  
  it("af.v20200226.QueryAntiFraud", async function () {
      try {
         const data = await client.QueryAntiFraud({})
         expect(data).to.be.ok
      } catch(error) {
        expect(error.requestId).to.be.ok
        expect(error.code).to.be.ok
      }
  })
  
  it("af.v20200226.GetAntiFraud", async function () {
      try {
         const data = await client.GetAntiFraud({})
         expect(data).to.be.ok
      } catch(error) {
        expect(error.requestId).to.be.ok
        expect(error.code).to.be.ok
      }
  })
  
  it("af.v20200226.DescribeAntiFraud", async function () {
      try {
         const data = await client.DescribeAntiFraud({})
         expect(data).to.be.ok
      } catch(error) {
        expect(error.requestId).to.be.ok
        expect(error.code).to.be.ok
      }
  })
  
  })
  