import createChainedFunction from "./createChainedFunction";
describe("createChainedFunction", () => {
  it("should handle createChainedFunction", () => {
    const one = () => {
      return "one";
    };
    const two = () => {
      return "two";
    };
    const test = createChainedFunction(one, two);
    const test2 = createChainedFunction(null);
    if (test) {
      expect(test()).toEqual(undefined);
    }
    if (test2) {
      expect(test2()).toEqual(undefined);
    }
  });
});
//# sourceMappingURL=createChainedFunction.test.js.map