aboutsummaryrefslogtreecommitdiff
path: root/src/util
Commit message (Collapse)AuthorAgeFilesLines
* Use nullish-coalescing op for env var assignmentsKevin J Hoerr2019-12-121-1/+1
|
* Add unit tests for util/config.tsKevin J Hoerr2019-12-122-6/+154
|
* Finish developing unit tests for formats, loggerKevin J Hoerr2019-12-111-4/+41
|
* Add Jest to handle unit and integration testingKevin J Hoerr2019-12-112-10/+33
| | | | | | | | | | | | Wrote a couple of initial unit tests for some of the logic-heavy points in the application, being logger.ts and formats.ts. Evidently colorize() causes an error when transforming on the Format object that's returned. Since that is specific to the Console transport anyways, I just moved it to the transport, since the unit test was only testing the passed label in the returned Formats object. Also the bash template has some issues that I didn't test (oops), so those are fixed now.
* Fix reported license and update changelogKevin J Hoerr2019-12-101-3/+2
|
* Add linting to project using EslintKevin J Hoerr2019-12-092-9/+17
|
* Add winston, express-winston to handle loggingKevin J Hoerr2019-12-082-0/+59