This is done in order to have config creation rules
unified in one place to avoid modifying them multiple times
if they change.
We already had 3 duplicated pieces of code initializing the
config and there will be more config uses in future tests.
This resolves#1960
Two new dev dependencies were added:
- supertest package to perform HTTP testing
- @babel/plugin-transform-runtime
Configured jest to so it is able load files from server directory
Removed dependency on pico-check and existing tests.
Added jest as dev dependency, introduced minimal configuration for it.
Added a very first couple of tests for our markdown parser/renderer.
* Enable caching of static assets
* Remove dependency on mime package
Since we only care about two file extensions at the moment,
there is no need to grab the whole package just to avoid
calling 'endsWith' twice.
Added circleci build badge.
Added contribution section.
Refactored the source to fit (mostly) into
80-column limit so it can be nicely read in
terminal applications