import { hJ as a, L as r } from "./56c67d3b.js";
import "react";
import "react-dom";
test("test execute action param transform", () => {
  let e = new a({
    value: {
      name: "progressCircle1",
      methodName: "setValue",
      params: ["20"]
    }
  });
  e = r(e), e.children.params.getView().forEach((t) => {
    expect(t.children.compType.getView()).toEqual("string"), expect(t.children.comp.getView()).toEqual("20");
  }), e = new a({
    value: {
      name: "progressCircle1",
      methodName: "setValue",
      params: [{
        comp: 20,
        name: "value",
        compType: "number"
      }]
    }
  }), e = r(e), e.children.params.getView().forEach((t) => {
    expect(t.children.compType.getView()).toEqual("number"), expect(t.children.comp.getView()).toEqual(20), expect(t.children.name.getView()).toEqual("value");
  });
});
