import { describe, expectTypeOf, it } from "vitest"; import { Hex } from "viem"; import { DynamicAbiTypeToPrimitiveType } from "./dynamicAbiTypes"; describe("DynamicAbiTypeToPrimitiveType", () => { it("maps uint8 array to number array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps uint32 array to number array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps uint48 array to number array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps uint56 array to bigint array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps uint256 array to bigint array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps int8 array to number array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps int32 array to number array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps int48 array to number array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps int56 array to bigint array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps int256 array to bigint array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps bytes1 array to hex array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps bytes2 array to hex array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps bytes8 array to hex array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps bytes32 array to hex array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps bool array to boolean array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps address array to hex array", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps bytes to hex", () => { expectTypeOf>().toMatchTypeOf(); }); it("maps string to string", () => { expectTypeOf>().toMatchTypeOf(); }); });