xetorthio/shmock — pull request #11 by Joe8Bit (2014-10-22 13:19:04+00:00)
Title: Add ability to use an arbitrary number of custom Express middlewards

This new feature came out of a projects needs, we wanted to integrate complex request logging for our mocks, to see which calls are being made with what params/headers/etc, up till now there wasn't an easy of doing this.

Now users can specify an array of custom Express middlewares they want shmock to use. They're added at config time and are added simply by iterating them and using Express's `.use()`.

Tests and documentation also added.