aboutsummaryrefslogtreecommitdiff
path: root/src/routes.test.ts
Commit message (Collapse)AuthorAgeFilesLines
* Add unit tests and correct CHANGELOGKevin J Hoerr2020-04-271-0/+11
|
* These changes moved a lot of the startup async to run in a streamlinedKevin J Hoerr2020-04-261-46/+171
| | | | | | | | | | async init function. This brings more logic "to light", so it should probably have unit tests added to check the edge cases. As a bonus, no async runs as a result of route initialization. Speaking of routes, it might be nice to trim down the route calls themselves with async functions, if possible. The upload routes in particular use a lot of async. Just a note for the future.
* #8 Add router unit tests using supertestKevin J Hoerr2020-01-111-0/+239
Also moved the template processing from index to router.