test("handles when flagsmith has an error during initialization", async () => {
    jest
      .spyOn(flagsmith, "init")
      .mockImplementationOnce(() => Promise.reject());