import "../chunk-RHRRSHUY.mjs";
import "../chunk-IUPPETLC.mjs";
import "../chunk-3AWHWPXV.mjs";
import {
  TokenUtils
} from "../chunk-EE7I5JHK.mjs";
import "../chunk-7Q5QQCHS.mjs";
import "../chunk-6DZX6EAA.mjs";
import "../chunk-YPAFAKCO.mjs";

// tests/token.test.ts
describe("TokenUtils", () => {
  it("getTokenAddress returns correct address for USDT", () => {
    const address = TokenUtils.getTokenAddress("USDT" /* USDT */);
    expect(address).toBe("Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB");
  });
  it("isTokenSupported returns true for supported tokens", () => {
    expect(TokenUtils.isTokenSupported("USDT" /* USDT */)).toBe(true);
  });
  it("isTokenSupported returns false for unsupported tokens", () => {
    expect(TokenUtils.isTokenSupported("NOT_REAL_TOKEN")).toBe(false);
  });
  it("getTokenFromAddress returns correct token for address", () => {
    const token = TokenUtils.getTokenFromAddress("Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB");
    expect(token).toBe("USDT" /* USDT */);
  });
  it("getTokenFromAddress returns null for unknown address", () => {
    const token = TokenUtils.getTokenFromAddress("invalid_address");
    expect(token).toBeNull();
  });
  it("getDefaultToken returns USDT", () => {
    expect(TokenUtils.getDefaultToken()).toBe("USDT" /* USDT */);
  });
});
