The purpose of this PR is to enable unit + functional tests without the use of a Redis server running. The changes piggyback off of hydra core's test modeFlag + Mock-Redis use.
Changes:
Adding testMode flag to hydraExpress init that gets passed down to hydra core.
Updating core test "should be able to register an http route and call it" to pass down testMode param
Please note: I have commented out the first test as it seems problematic and probably needs to be revisited in more depth. The 2nd "core test" of being able to register a router and access it now works properly!
The purpose of this PR is to enable unit + functional tests without the use of a Redis server running. The changes piggyback off of hydra core's test modeFlag + Mock-Redis use.
Changes:
testMode
flag to hydraExpress init that gets passed down to hydra core.testMode
paramPlease note: I have commented out the first test as it seems problematic and probably needs to be revisited in more depth. The 2nd "core test" of being able to register a router and access it now works properly!