mafintosh/mongojs — pull request #93 by sorribas (2013-09-18 16:51:00+00:00)
Title: Manage the sutdown command.

This manages the shutdown command so mongojs doesn't crash when it is executed. I couldn't really find a way to test this, since doing so would shutdown the mongodb daemon. Creating mock functions is a possibility but I don't know if it is worth it, being this such an uncommon use case. What do you think?