test1.ts

Test 1: Test Agent Deployment

import { deployAgent } from "../src/deployAgent";
import assert from "assert";

describe("Agent Deployment Tests", () => {
  it("should deploy an agent successfully", async () => {
    const agentDetails = {
      name: "TestAgent",
      symbol: "TST",
      supply: 5000,
    };

    const result = await deployAgent(agentDetails);
    assert.ok(result);
    assert.strictEqual(result.name, agentDetails.name);
  });
});

Last updated