Closed di-sukharev closed 4 weeks ago
there is test/unit/config.test.ts
, but it only covers getConfig
, we should cover setConfig
i will be adding tests here https://github.com/di-sukharev/opencommit/pull/391
i've merged the #391, will be adding tests as a separate PR referring to this issue. i should have time this weekend
done
Opencommit Version
latest
Node Version
20
NPM Version
latest
What OS are you seeing the problem on?
No response
What happened?
I've released 3.0.18, which was broken —
oco config set OCO_MODEL
didnt work correctly to a wrong code, fixed in https://github.com/di-sukharev/opencommit/pull/387Expected Behavior
We should also test
oco config set OCO_MODEL
andOCO_OPENAI_API_KEY
Current Behavior
Now only
oco
command to generate a commit message is tested.Possible Solution
No response
Steps to Reproduce
No response
Relevant log output
No response