🪢 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 { getSlackStatus } from "./useSlackIntegration";
describe("getSlackStatus", () => {
it.each([
[undefined, "inactive"],
[{ isConnected: false }, "inactive"],
[{ isConnected: true }, "active"],
])("maps %o to %s", (integration, expected) => {
expect(getSlackStatus(integration)).toBe(expected);
});
});