sfcc-ci
sfcc-ci copied to clipboard
Test coverage for slas commands
#270 has introduced as breaking change as we've upgraded to a new major version of node-fetch. This caused slas commands to fail, reported in #280. A fix has been provided as part of #285. However, we should add unit tests and CLI functional tests to have some safeguards in place to prevent this from happening again.
@hnestmann @johnboxall @jbachelet Any thoughts from your side?
Yes I am fully on board to increase test coverage. Howeber - would unit tests help if dependencies change? Maybe we should think about integration tests with github actions or the like
True for this particular issue. Having a CLI based test would have caught it however.
I will add unit tests for sure though.