-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Empty show more show less
Mock servers must be manually and explicitly destroyed at the end of each test. Now that we use mocha, we can utilize test hooks in order to manage our state more effectively. Not only does this mean we can centralize where mock servers are cleaned up (in the mock module itself), but we can also ensure that when one test fails it does not bring down the rest of the batch (because they tend to use the same port numbers).