import {evaluate, sampleFunction} from "../src"; describe("This is a simple test", () => { test("Check the sampleFunction function", () => { const actual = sampleFunction("hello"); const expected = "hellohello"; expect(actual).toEqual(expected); }); }); describe("Simple expression tests", () => { test("Check literal value", () => { expect(evaluate({ type: "literal", value: 5 })).toBeCloseTo(5); }); });