# Functions
Config creates the test configuration once and returns the same every time the function is called.
FormatJSON formats json string to be added to golden file.
LoadFixtures is called before executing each test, it clears db and loads data from fixtures so that each test is executed on new db.
NowAfterDuration returns a time one second after adding the duration in Now.
Setup when called first time will connect to test db, run migration to create tables and return TestConfig configurations.
# Variables
Now mocks the current time.
# Structs
TestConfig defines configurations required for running tests APIConfig contains the db object, logger and github oauth conf fixturePath is the path to fixture directory which contains test data configPath is the path to test config file err will have error if occured during initialising the test db connection.