import { getQnAInitState } from "../qnaState";

describe("QnA State", () => {
  describe("getQnAInitState", () => {
    it("should return an initial state object", () => {
      const initState = getQnAInitState();
      expect(initState).toBeDefined();
      expect(typeof initState).toBe("object");
    });

    it("should have expected initial state structure", () => {
      const initState = getQnAInitState();
      // Check that it's a truthy object
      expect(Boolean(initState)).toBe(true);
      expect(initState).not.toBeNull();
    });
  });
});
