useragent.js
251 Bytes
-
POC for adding unit test coverage to install · b1188bc9
The installer is getting more complicated. The core of it is a http request which makes testing it difficult/messy. Pulling out core logic into small util functions that we can unit test would give me much more confidence moving forward. I would prefer we don't export functions from scripts so people don't start relying on undocumented APIs. This is why I opted for helper utils but I'm not committed to them.
xzyfer authored
×