MCPcopy
hub / github.com/Doorman11991/smallcode / config_normalize.test.js

File config_normalize.test.js

test/config_normalize.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Regression tests for normalizeBaseUrl — closes issue #44.
2//
3// The bug: SMALLCODE_BASE_URL=http://localhost:11434 (no /v1) hit Ollama's
4// native /api endpoint while config.js still routed through the OpenAI-

Callers

nothing calls this directly

Calls 3

normalizeBaseUrlFunction · 0.85
withTempConfigFunction · 0.85
loadConfigFunction · 0.50

Tested by

no test coverage detected