"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const SentimentTool_1 = require("../../src/tools/goatTools/SentimentTool");
describe("SentimentTool", () => {
    const sentimentTool = new SentimentTool_1.SentimentTool();
    it("should return sentiment analysis for a given text", async () => {
        const result = await sentimentTool.tool.execute({ text: "I love using this product!" });
        expect(result).toEqual(expect.any(Object));
        expect(result).toHaveProperty("score");
        expect(result).toHaveProperty("sentiment");
    });
    it("should return sentiment analysis for a given text with multiple tokens", async () => {
        const result = await sentimentTool.tool.execute({ text: "I love using this product! ETH is great, and BTC is awesome!" });
        expect(result).toEqual(expect.any(Object));
        expect(result).toHaveProperty("score");
        expect(result).toHaveProperty("sentiment");
    });
});
