UNPKG

create-agent-chat-app

Version:
12 lines (10 loc) 387 B
import { describe, it, expect } from "@jest/globals"; import { ensureConfiguration } from "../../configuration.js"; describe("Configuration", () => { it("should initialize configuration from an empty object", () => { const emptyConfig = {}; const result = ensureConfiguration(emptyConfig); expect(result).toBeDefined(); expect(typeof result).toBe("object"); }); });