aboutsummaryrefslogtreecommitdiff
path: root/src/routes.test.ts
Commit message (Collapse)AuthorAgeFilesLines
* Refactor upload processingKevin J Hoerr2021-09-121-3/+8
|
* Refactor env config into MetadataKevin J Hoerr2021-09-121-12/+24
|
* Move token to metadataKevin J Hoerr2021-09-121-1/+5
|
* Upgrade packages and fix unit testsKevin J Hoerr2021-09-111-35/+46
|
* Refactor startup to passthrough valuesKevin J Hoerr2020-04-271-1/+1
| | | | | | | | Even more refactoring - however there were some small troubles using path in the nested scripts/files, so referencing them via the index should be a bit more stable. Plus, the config unit tests won't just exit because of configOrError constants strewn about the file.
* 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.