🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
// @vitest-environment node
import { getMixpanelStatus } from "./useMixpanelIntegration";
describe("getMixpanelStatus", () => {
it.each([
[null, "inactive"],
[{ enabled: true }, "active"],
[{ enabled: false }, "inactive"],
])("maps %o to %s", (config, expected) => {
expect(getMixpanelStatus(config)).toBe(expected);
});
});