🪢 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 { getExternalMediaStorageStatus } from "./useExternalMediaStorage";
describe("getExternalMediaStorageStatus", () => {
it.each([
[null, undefined],
[{ bucketName: "media" }, "active"],
])("maps %o to %s", (config, expected) => {
expect(getExternalMediaStorageStatus(config)).toBe(expected);
});
});